PWA - localhost:8000/screen 404 (Not Found) and Google Analytics Proxy Error



I am building a cross-platform app using platforms: ios, android and browser.

After create my project and add the distinct platforms using:

ionic platform add ios
ionic platform add android
ionic platform add browser

When I run my app in the browser using:

ionic run browser

I am having some issues:

Uncaught TypeError: r[t] is not a function
at Object.Y.x.(anonymous function) [as loaded_0] ( onload=__iframefcb17181:10:484)


EXCEPTION: Uncaught (in promise): Error: send timeout
Error: send timeout
at http://localhost:8000/plugins/cordova-plugin-google-analytics/browser/UniversalAnalyticsProxy.js:170:13
at t.invokeTask (http://localhost:8000/build/polyfills.js:3:9723)
at Object.onInvokeTask (http://localhost:8000/build/main.js:38716:37)
at t.invokeTask (http://localhost:8000/build/polyfills.js:3:9659)
at e.runTask (http://localhost:8000/build/polyfills.js:3:7083)
at invoke (http://localhost:8000/build/polyfills.js:3:10836)
at e.args.(anonymous function) (http://localhost:8000/build/polyfills.js:2:30123)

Please, any help?



I have same problem /screen 404 to run browser


Having the same issue on my project too.


Did you guys find the solution for this?


Yes, change this in your config.xml:

<preference name="SplashScreen" value="assets/images/logo.svg" />
<preference name="SplashScreenBackgroundColor" value="#000" />

Remember to include your image file in your src/assets/images folder.

And build for browser:

ionic build browser --prod

Deploy to your server:


Hope it helps…