Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular site won't open on mobile

I simply cannot figure out what the problem is.

I have a very simple website made in angular that runs perfectly fine on the desktop (Chrome) but simply shows a blank page on my mobile (iPhone 6).

I have tried emulating it locally and online without any issues. I have run count less test from all different sites and they don't seem to find any issues.

The website is: https://admin.marcrasmussen.dk

I know this is fairly unusual but I have attempted to fix this for the past 5 hours. Can anyone see what I've done wrong?

like image 822
Marc Rasmussen Avatar asked Aug 21 '17 11:08

Marc Rasmussen


People also ask

Does Angular work with mobile browsers?

AngularJS is 100% JavaScript, 100% client-side and compatible with both desktop and mobile browsers.

Why is my Angular app not displaying anything?

It means that the HttpClient Module was not imported into our root module. The solution is simple: we need to import the missing modules in our main module. In most cases, these modules will need to be imported into the AppModule of your app.

Why AngularJS is not mobile friendly?

When Angular JS was introduced, it was not designed to focus on mobile browsers and did not have in-built support for mobile applications, due to which it is not mobile-friendly. On the other hand, Angular was built such that it could support the development of native mobile, native desktop, web and mobile web.

Is Angular JS mobile friendly?

AngularJS is the future of mobile development and has an incredible potential to make mobile apps more user-friendly. In modern times, Angular JS has successfully enabled mobile developers to build state-of-the-art mobile apps.


1 Answers

This is what i found debuggin your site.

CONSOLE

is an issue of firebase-messagin.js check if for an update to support safari for ios. i found this other question on SO who asking similar issues . Firebase on iPad's Safari; Can't find variable: Notification Ask Question

what recocomends is to turn off the notification prompt when detect the browser, to avoid the js crash.

like image 122
Jesus Carrasco Avatar answered Sep 25 '22 19:09

Jesus Carrasco