Skip to content
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

Issue: In-App Updates Not Working as Expected on Android and IOS #188

Open
grandolinah opened this issue Sep 17, 2024 · 1 comment
Open

Comments

@grandolinah
Copy link

grandolinah commented Sep 17, 2024

Hello,

I am encountering an issue with the sp-react-native-in-app-updates library in my React Native app.

App versions:

 "react-native": "0.73.1",
 "sp-react-native-in-app-updates": "1.4.0",
 "react-native-device-info": "11.1.0",

Description of the issue:

I have two different APKs uploaded to the internal test track in the Google Play Console, with the following version codes and version names:

versionCode: 412196114, versionName: 309.0.0
versionCode: 412196115, versionName: 310.0.0

When I try to check for updates in my app using the example provided in the setup (https://github.com/SudoPlz/sp-react-native-in-app-updates/blob/master/example/src/App.tsx), I receive unexpected results (please see the attached image below for reference).

image

It seems like the in-app update feature is not correctly identifying the available updates between the two APKs.

Please let me know if any additional information is needed or if there's a known issue regarding this behavior.

Seems to be the same issue when I am testing in Testflight
image

Thank you!

@grandolinah grandolinah changed the title Issue: In-App Updates Not Working as Expected on Android Issue: In-App Updates Not Working as Expected on Android and IOS Sep 24, 2024
@ryonwhyte
Copy link

If you already have the app in play store, then the version you upload to internal app share must be lower than the version in production. Only after doing this was I able to see the popup appear on android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants