2

I am using package purchases_flutter for handling in app purchase. This package is powered by RevenueCat

Payment dialog appear by executing this line

Purchases.purchasePackage(package);

For android all is working good but for iOS I am facing following error

Purchase is a duplicate and will not be reported. Product ID: product_id

Is there any workaround for this?

Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
Hemal Moradiya
  • 1,715
  • 1
  • 6
  • 26

2 Answers2

2

That's a Firebase Analytics message, not an error during the purchase process: Firebase error when doing IAP

I believe it simply means Firebase Analytics think's it's already recorded an event for that purchase so it isn't logging again. This would be common during testing when you repeatedly buy the same product.

enc_life
  • 4,973
  • 1
  • 15
  • 27
0

You can add this code in AppDelegate.swift

FirebaseConfiguration.shared.setLoggerLevel(.min)
keyur
  • 151
  • 13