Firebase Analytics (screen view tracking) only working when refreshing the page - reactjs

Hello guys I need help I'm using firebase analytics in a Next JS app and it seems that page view/screen tracking only works whenever I refresh the page. When I click the links that will change routes, it doesnt track the changes in screen view. I wonder why this is happening? Here is my code how I setup the analytics.
enter image description here

Related

Is it possible to add to a web page to the home screen of your phone with a customizable app icon?

I am working on a react web app where our clients can customize their app icon which should also get displayed on their phone's home screen if they want to add the app to their home screen. Currently it always displays the apps default favicon icon even tho I am overwriting it when the client customizes it. I can also see in the browser tab that i successfully overwrote the favicon. Any ideas how to solve that? Thank you very much!
Sounds like you're talking about Progressive Web Apps with the add to home screen feature -- might be a duplicate of How can I update home screen icon of my Progressive Web App?

Unable to prevent browser back click after redirection

I'm Using Next.js in my project. I am having payment option in my application., Once I got redirected from the Payment gateway I want to stop user clicking browser back button.
currently, If user click browser back buton it goes back to payment gateway.
I am using next-routesfor routing, redux for state management.,
I tried to stop browser back navigation with this package disable-browser-back-navigation, but the issue remains same.
can anyone help me on this.

When Go to Previous Page using href two pages merge in ionic

I am using ionic for phonegap to build mobile app.
As i have written all code and now when I click back button to returns, some times shows like below attached image.
I have used href="#/pagename" to change page in html.
After long Research I found the solution.Below is the refresh link and the solution.
http://blog.ionic.io/preparing-for-ios-9/
:)

Onsen UI transition Effect delay

im developing my first app with onsen ui and angular js. I have a dude. When i navigate between differents links from my lateral menu the app show the last page before load the new page. I dont know how explain very well the problem.
The last page displayed is stuck before loading the new page.
If you want some code just tell me.
To see the problem on live my app is here: https://build.phonegap.com/apps/1282748/share
Thanks a lot

How to handle Refresh and Reset in WPF application in MVP application

I am developing an windows UI application in WPF with MVP architecture with C#.
The application will interact to sqlserver and displays the data to the user.
I have 2 buttons REFRESH and RESET. which refreshes the page and resets the page to the home page respectively.
As I searched in few forums,navigationservice is recommeneded,but I couldnt see navigationservice.refresh() command
Refresh should refresh the page (current page) and the reset should reset to the homepage as per my appication.
Please help me in doing this.
Thanks
Ramm
You need to create custom commands for each of your buttons. The RefreshCommand can reload the data bound to your view, and you can use the ResetCommand to call the NavigationService to navigate to your home page.

Resources