react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

[Android] purchaseUpdatedListener doesn't receive notification of successful purchase on device startup

Open kesha-antonov opened this issue 11 months ago • 23 comments

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

photo_2023-07-12 17 35 46 photo_2023-07-12 17 35 49 photo_2023-07-12 17 35 51

Environment:

  • react-native-iap: 12.10.5
  • react-native: 0.72.2
  • Platforms (iOS, Android, emulator, simulator, device): Android

kesha-antonov avatar Jul 12 '23 14:07 kesha-antonov