-
-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrader package to handle both for Google Play & Huawei AppGallery for App Upgrade #71
Comments
If this was possible it would be using the Appcast file. However, I don't think this is possible. Do you know if there is a way to identify what app store the app was installed from? |
Thanks for the quick response. I don't think there is a way to identify what App Store from the user device/phone. At the moment, I am using the same flutter build APK and able to load the same APK into both Google Playstore and Huawei AppGallery for user to download. So, in term of code, there is no different. However, when I have new App release upgrade using your upgrader package, it will always route it back to Google play as expected and break the upgrade for those download from Huawei AppGallery. The only way I can think of, is to have a separate build package apk release (with different remote config) for Google Playstore and Huawei AppGallery but this way is very troublesome to maintain. |
Somehow, the app needs to identify which app store it was installed from. If the Android SDK cannot provide that, then the AndroidManifest.xml can identify the app store by using a specific package name for each store. In the code, it should load a corresponding Appcast file based on the app store. |
Do you have any example on how the Appcast file work? I would like to understand better. |
Here is an example Appcast file:
|
Closing this due to inactivity. |
Please include huawei app updates! |
You can find the updated Huawei App Gallery support in #451 Pull Request |
I have been using this upgrader to handle my app upgrade for Android and IOS. It is working great.
However, recently, I have uploaded my App to Huawei App Gallery too.
This package seem to have issue to differentiate the Android source to redirect Google PlayStore or Huawei AppGallery for upgrade. My I know if there is a solution for this situation? How the rest manage the app upgrade situation for different android source from Google Play and Huawei AppGallery at the same time.
The text was updated successfully, but these errors were encountered: