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

Check needs update showing errors #146

Open
jeoEnfin opened this issue May 16, 2023 · 5 comments
Open

Check needs update showing errors #146

jeoEnfin opened this issue May 16, 2023 · 5 comments

Comments

@jeoEnfin
Copy link

LOG [Error: sp-react-native-in-app-updates checkNeedsUpdate error: Error: com.google.android.play.core.appupdate.internal.zzy: Failed to bind to the service.]

@brunohmagro
Copy link

I'm facing the same error.

@faniry6
Copy link

faniry6 commented May 23, 2023

Same here!

@JeanSilvany
Copy link

Added <uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" tools:node="remove"/> in AndroidManifest.xml

@kostas64
Copy link

kostas64 commented Sep 4, 2023

I had the same error.

"react-native": "0.71.9",
"sp-react-native-in-app-updates": "^1.3.1",

In my case this error was appearing only in Android in case i was trying to bypass android build version through ->
await inAppUpdates.checkNeedsUpdate({0.0.2}). In order to make it work :

  • Remove version from checkNeedsUpdate
  • Downgrade versionCode* (not versionName) from build.gradle (app)
  • Run ./gradlew clean in android folder
  • Build
  • Done

*PS: work with real device and not emaulator

@SudoPlz
Copy link
Owner

SudoPlz commented Feb 27, 2024

This sounds like something on the environment is wrong (i.e you're testing on an emulator).
I see it as a more generic in app updates sdk issue and not related to the react-native wrapper library that sp-react-native-in-app-updates is.

You'll probably get better answers in SO but this requires trial and error to resolve unfortunately. Google hasn't made debugging in app updates easy.

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

6 participants