chrisonline The browser icon in the corner of the main icon on Android devices will not be super easy to fix. I do not know yet how accurate this article is but I found this:
In 2017, Chrome rolled out a new feature for Android users: WebAPK. Now, when your users install your PWA (if it meets the requirements), a Google Play server will create an APK (Android Package, a native app container) on the fly and install it in the device as if it's coming from the Play Store. Your user doesn't need to enable insecure sources or touch any other settings.
When the PWA is installed, it will appear in the home screen, in the app launcher, in Settings and as any other first-class citizen app in the OS, including information on battery and space used in the system.
If your PWA doesn't meet all the requirements, the Play service is down, there is a connection issue, or another Android browser such as Firefox or Samsung Internet is being used, a standard shortcut to the home screen will be created. That icon will be browser-branded from Android 8+.
āSo, this extension isnāt a valid PWA is that what youāre saying?ā No.
Using a PWA validator this gets a score of 95 out of 100. The minus 5 points is because it doesnāt have push notifications. Although, as we know, Flarum has that ability within the app for push. I donāt plan on any time soon adding the āPushManager" stuff. Mainly because I don't know how and so it would take many days, weeks or months for me to figure out and implement. Plus a score of 95 out of 100 is still an A! š¬
On top of that, I donāt know if this is even the problem. Iām assuming that maybe, since it doesnāt have the Push stuff, Android is like, āNope, not an app, adding the ugly browser icon, take that pawn!ā But, it could be that the issue is something else I havenāt discovered yet. But, I donāt know what since again in a valdator, it has everything a PWA needs; minus push.
There is is one potential solution. I might be able to convert this PWA into a regular Android app and submit it to the Google Play Store. Then it would have a normal icon. But, youād be stuck with the default icon. The black speech bubble (I couldnāt use the Flarum logo which might be a little better because it is copyrighted).
Plus, then you have a regular app... not a PWA. And browsers would not alert the user automatically to install the Android app. However, code could be added to alert the user that, āHey, this site has an Android app; download from the Play store.ā
I added a āknown issuesā section in the first post below the video. This will be the first āknown issue.ā A solution may come one day.