-
Notifications
You must be signed in to change notification settings - Fork 66
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
Forced update show only once (explain below) #138
Comments
@ShravanMeena An update can be already downloaded. You need just install it. Despite the fact that shouldUpdate is false, you have a versionCode field and you can compare it with a versionCode (on android) of your app and in that case they will be different. |
No it just shows me updated version but my app current version is below. and if already downloaded, how do I install it at the beginning of the next app @Lepidopterolog ? |
@ShravanMeena I just managed the same problem yesterday)) There are several flows. If you called the update and launched a new instance of the application, then 2 options are possible: 1. The update is still loading. 2. It is already loaded. How to determine if an update is being downloaded or already downloaded? What exactly should be done? - in general, here is an example: Hilokal@5dc7471 I implemented it a little differently:
And then it's all about js, everything is very simple. Checking that this is Android and one of the 2 cases:
|
If the user kills the screen while the in-app-update is being downloading, the prompt to update will not show up again the next time the app is opened. next time it show shouldUpdate:false.
Anyone facing same issue if not then please retry one more time.
this is the response I am getting
The text was updated successfully, but these errors were encountered: