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.