Open humzashahid-mobile opened 1 year ago
any updates ?
We don’t have any HuaWei devices,
On Mon, May 22, 2023 at 12:53 AM humzashahid-mobile < @.***> wrote:
any updates ?
— Reply to this email directly, view it on GitHub https://github.com/larryaasen/upgrader/issues/288#issuecomment-1556715860, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARLXVRNHUXRPL7J3TTTZMMDXHMLOHANCNFSM6AAAAAAYHNJTGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
So you made package for HuaWei in app update, but you do not have devices , how you tested it ?
There is no solution for this right now in the upgrader package. With a small enhancement to the Appcast feature by adding the OS name, it may be able to target the Huawei App Gallery. However, I am not sure how to know which app store was used to install the app. How could we determine if the Huawei App Gallery or Google Play Store was used to install the app?
This is the way i do it for now. Set 'buttonTitleUpdate' to Update\nAndroid/IOS Set 'buttonTitleLater' to Update\nHuawei Use a function on 'onLater' to open the link to AppGallery
So the User can decide where to update.
There is no solution for this right now in the upgrader package. With a small enhancement to the Appcast feature by adding the OS name, it may be able to target the Huawei App Gallery. However, I am not sure how to know which app store was used to install the app. How could we determine if the Huawei App Gallery or Google Play Store was used to install the app?
You can detect the Huawei devices by checking whether a device has HMS Core APK installed, or you can check the availability of GooglePlayServices in the device.
Please include huawei app updates!
Look at the latest version of this package with a latest customization options. I think it now meets your needs. If not, please open a new issue with your details.
Look at the latest version of this package with a latest customization options. I think it now meets your needs. If not, please open a new issue with your details.
I'm searching for a way to check app version on HUAWEI too but, cant see how to do it, Last commit #399 just contains some client header stuff it looks like. Can you explain how to?
My idea is to use onUpdate
function and check if there is HMS Core Installed on the device (but not sure how to do it). Basicly if its installed we will push the HUAWEI store link (hope Huawei AppStore to catch it) than return false to block Upgrader's update event.
Even tho this could work, downside is that we are not checking Huawei store version but Google Play version. This is just a hope for their version will be the same. Any suggestions ?
it gives alert new version is available , but actually it is android new version on playstore and update now is redirecting to Playstore url in stead Huawei App Gallery?
Our is publish with same version in android playstore and Huawei App Gallery .
package is working fine with android playstore but for Huawei device is showing alert but redirecting to Playstore web url ?
Please help ?