SudoPlz / sp-react-native-in-app-updates

An in-app updater for the native version of your react-native app.
MIT License
459 stars 65 forks source link

Check needs update showing errors #146

Open jeoEnfin opened 1 year ago

jeoEnfin commented 1 year ago

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 commented 1 year ago

I'm facing the same error.

faniry6 commented 1 year ago

Same here!

JeanSilvany commented 1 year ago

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

kostas64 commented 1 year ago

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 :

*PS: work with real device and not emaulator

SudoPlz commented 6 months ago

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.