dooboolab-community / flutter_inapp_purchase

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

The getter 'endConnection' isn't defined for the type 'FlutterInappPurchase'. #465

Closed hasen6 closed 3 months ago

hasen6 commented 9 months ago

Version of flutter_inapp_purchase

5.6.0

Platforms you faced the error (IOS or Android or both?)

Isn't this supposed to be part of flutter_inapp_purchase? It's listed as a method in your own documentation but it's not found.

FlutterInappPurchase.instance.endConnection;

It looks like initConnect has been replaced by initialize? Although it's not clear from your documentation.

maiquitome commented 7 months ago

same problem here :(

faisal-atrule commented 6 months ago

Use this

FlutterInappPurchase.instance.finalize()

github-actions[bot] commented 3 months 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.