I have generated a PWA application with source code on the website. My PWA configuration is passed on the website; however, the TWA generated doesn't show the right name. The application's name works fine in the app list and settings, except for this area.
Preview:
I haven't really touched anything in this source code yet. The reason I downloaded it is just in case I want to change or update the notification settings and also for APK signing before uploading it to the Google Play Store.
What I expect to happen is for the name of my app to show up when navigating to that area, not only on the app settings page or app list, as users may get confused with this issue.
Note: Digital Assets Link key and from Google play store is already added to my asset link json file, Been using this PWA since 2019 and this is the first time I encounter this problem.
Via Github: [BUG] Android launcherName is Chrome #4227
This issue is already moved at:
Issue 1472686: [BUG] PWA to TWA Implementation - Android launcherName is Chrome.
Based on peconn: Unfortunately this is a bug on Android's side - we call Activity#setTaskDescription in order for that text to be your PWA's, but from Android P onward this doesn't take effect. There's no more we can do.
(For future Googler's looking at this issue, the Android bug is b/161535338, but that won't be accessible to the public.)