hyochan / flutter_inapp_purchase

(Sun Rised!) Flutter plugin for In App Purchase.
MIT License
550 stars 235 forks source link

iOS flutter_inapp_purchase in ios geting error listen (FlutterInappPurchase.purchaseError) #486

Closed anilthummar closed 2 weeks ago

anilthummar commented 4 months ago

@arisbartee @LinusU @emostar @nucleartux

Please help me for same.

Version of flutter_inapp_purchase

flutter_inapp_purchase: ^5.6.1

Platforms where the error occurred (iOS)

The error occurred on iOS only.

Expected behavior

Actual behavior

Tested environment (Emulator? Real Device?)

Real Device

Steps to reproduce the behavior

When initiating my payment process using the following code:

  1. await FlutterInappPurchase.instance.initialize();
  2. connectionSubscription = FlutterInappPurchase.connectionUpdated.listen((connected) { print("test") });
  3. purchaseUpdatedSubscription = FlutterInappPurchase.purchaseUpdated.listen((productItem) async) { print("test") });
  4. purchaseErrorSubscription = FlutterInappPurchase.purchaseError.listen((purchaseError) { print("test") });

I encounter an error at the 4th step. Every time the control reaches the 4th step, my payment process halts, but this issue occurs only on iOS.

KyawSoeW1n commented 4 months ago

Is it work on emulator?

anilthummar commented 3 months ago

@KyawSoeW1n not its not work on emulator , i have check and test in real iPhone device

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.