dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.74k stars 631 forks source link

Error Billing is unavailable. This may be a problem with your device, or the Play Store may be down. #2795

Open MariusCatanoiu opened 4 days ago

MariusCatanoiu commented 4 days ago

Hello. I get this error after upgrading from 12.10.4 to 12.15.1

Environment:

Error Billing is unavailable. This may be a problem with your device, or the Play Store may be down. 
    node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:105:59 promiseMethodWrapper
    node_modules/react-native-iap/src/eventEmitter.ts:62:37 purchaseUpdatedListener
    src/screens/main/RemotePurchaseModule.tsx:90:59 ?anon_0_
    (native) throw
    node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:23 asyncGeneratorStep
    node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:26 _throw
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1x3k484k/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16 tryCallOne
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1x3k484k/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27 anonymous
    (native) apply
    node_modules/react-native/Libraries/Core/Timers/JSTimers.js:247:22 anonymous
    node_modules/react-native/Libraries/Core/Timers/JSTimers.js:111:14 _callTimer
    node_modules/react-native/Libraries/Core/Timers/JSTimers.js:161:14 _callReactNativeMicrotasksPass
    node_modules/react-native/Libraries/Core/Timers/JSTimers.js:415:41 callReactNativeMicrotasks
    node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:392:41 __callReactNativeMicrotasks
    node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:132:38 anonymous
    node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:10 __guard
    node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:131:16 flushedQueue
    node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:127:28 invokeCallbackAndReturnFlushedQueue
MariusCatanoiu commented 4 days ago

I work withcom.google.gms:google-services:4.4.2, targetSdkVersion and compileSdkVersion 34