dooboolab-community/flutter_inapp_purchase

Update to support Flutter 3

giolaq opened this issue · 14 comments

Is there any plan to update the plugin to Flutter 3?

eEQK commented

is there anything that stops you from using this plugin with flutter 3?

Not really, the plugin is working with Flutter 3. Maybe we could update the sample app to Flutter 3?

FlutterInappPurchase.instance.getProducts doesn't work after flutter 3.7.7 update.

@temelyazilim In my case the issue arised after setting base country for upcoming Apple price change. Previously working TestFlight build stopped work, but the same build in production works as expected. Similar issue by developer not using this plugin https://community.revenuecat.com/general-questions-7/i-can-t-get-iap-only-subscriptions-2667.

ios working but android doesn't show prices.

@temelyazilim In my case the issue arised after setting base country for upcoming Apple price change. Previously working TestFlight build stopped work, but the same build in production works as expected. Similar issue by developer not using this plugin https://community.revenuecat.com/general-questions-7/i-can-t-get-iap-only-subscriptions-2667.

flutter 3.7.7 FlutterInappPurchase.instance.getProducts results;

not working - android

android


working - ios
ios

@temelyazilim Looks like a different issue comparing to mine. Instead of non-consumable products I get an empty list. I don't have consumable products. You could try to downgrade the flutter_inapp_purchase version, last version brought some changes to android billing.

we downgrade to flutter_inapp_purchase: 5.2.0

now working again. what should we do to use 5.4.0? ios working but android not.

im using 5.2.0 and the price now show in android

@renolation @temelyazilim The major changes in 5.4.0 in android is that billing client is upgraded to 5.1. This is done in #392 by @SamBergeron.

If possible could @SamBergeron join this conversation?

@renolation @temelyazilim The major changes in 5.4.0 in android is that billing client is upgraded to 5.1. This is done in #392 by @SamBergeron.

If possible could @SamBergeron join this conversation?

in android 13 and plugin 5.4.0 i got this Please fetch setObfuscatedAccountIdproducts first by calling getItems. but when i get items, it gets enough but the price is null

Here is a fix for the one time purchases (price is null)
here is my pr: #435

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.