Techiio-author
Started by Bell GrantNov 7, 2021

Open
Android PWA install failed, app keeps crashing

3 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 3 VIEWES SHARE

I have an Ionic / Capacitor / Angular PWA. On my Android phone:

I attempted to add it to the domestic display screen, I were given the notification that it turned into being added, but the icon in no way appeared in my apps

The app crashes every time I open it in ordinary chrome, however, works satisfactory incognito mode and Samsung internet

It passes the lighthouse PWA audit

I have established it on my desktop chrome, and it works first-rate

I've mounted it on an Android pill, and it works quality

After I attempt to debug it on android in chrome dev tools, dev tools crash

In android chrome, after I try and upload it to the home screen once more, the upload to domestic screen dialog simply spins

I've tried deregistering the carrier worker, however, this does not fix the difficulty

The app does not display in my apps, so I cannot delete it

I've tried restarting the telephone

Be aware: I formerly had the staging version of the app established, but I deleted this earlier than putting it in the production model.

So it looks as if something is damaged with the PWA deploy, that's breaking the app every time it runs in 'normal' (now not incognito) mode. Has anybody else visible something like this, and in that case is there any manner to 'clean' the PWA set up?

I'm glad to add code, but given all the exams, and the fact that many human beings have established the PWA over the previous few months, I do not think this is code trouble.

1 Replies

Techiio-commentatorUtsab Das replied 2 months ago0 likes0 dislikes

I guess, you have to follow the below steps to go forward.

here's the manifest.json file..

{
"name": "Our School",
"short_name": "ourschool",
"start_url": "/index.html",
"display": "standalone",
"background_color": "#fff",
"theme_color": "#fff",
"icons": [
{
"src": "/img/icon-72x72.png",
"type": "image/png",
"sizes": "72x72"
},
...
]
}

That's the way you have to link your html file

<link rel="manifest" href="/manifest.json" />
Hopefully,finally you got your solution..All the bestđź‘Ť
You must be Logged in to reply
Trending Technologies
15
Software40
DevOps47
Frontend Development24
Backend Development20
Server Administration17
Linux Administration26
Data Center24
Sentry24
Terraform23
Ansible83
Docker70
Penetration Testing16
Kubernetes21
NGINX20
JenkinsX17
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance