简体   繁体   中英

Installed Android PWA and Google Play hybrid app version Conflict

We developed both versions, cordova app and PWA Versions ( from the same code base).

Our conflict is that, if the users installs the PWA version ( which adds an app icon to the android homescreen) then if the user goes to the Play Store, and searchs for the "hybrid app" the app appears as "installed" when this is not true?

Is this because they share the same app code name?

In this case if the user wants to install the Google Play version then it has to unistall and then install again to be able to install the "Hybrid" non-PWA version...

Is this normal?

You can only have one app with the same package name eg "com.google.android.gmail" on any device at any time. So yes, if you want two different apps, then you need two different package names (also known as Application ids). This isn't just normal, it is true on all versions of android since the very beginning.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM