react-native-iap
react-native-iap copied to clipboard
[Android] purchaseUpdatedListener doesn't receive notification of successful purchase on device startup
Hi!
Description
Use case:
- Initiate process of buying consumable product
- Choose method "slow test card, approves after a few minutes"
- Tap Buy
- Wait to receive notification in
purchaseUpdatedListener
with pending purchase - Close the app
- Check gmail for 2 letters: pending purchase, success purchase
- Open app
-
purchaseUpdatedListener
doesn't receive any notifications
Expected Behavior
- Initiate process of buying consumable product
- Choose method "slow test card, approves after a few minutes"
- Tap Buy
- Wait to receive notification in
purchaseUpdatedListener
with pending purchase - Close the app
- Check gmail for 2 letters: pending purchase, success purchase
- Open app
-
purchaseUpdatedListener
receive success notification
Screenshots
Environment:
- react-native-iap: 12.10.5
- react-native: 0.72.2
- Platforms (iOS, Android, emulator, simulator, device): Android