adaptyteam / AdaptySDK-Flutter

SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
95 stars 17 forks source link

ios: error = type 'Future<dynamic>' is not a subtype of type 'FutureOr<String>' in type cast #36

Closed otopba closed 2 years ago

otopba commented 2 years ago

On iOS an error when trying to make a pending purchase:

type 'Future<dynamic>' is not a subtype of type 'FutureOr<String>' in type cast
#0      Adapty.makeDeferredPurchase (package:adapty_flutter/adapty_flutter.dart:211)
#1      AdaptyPurchaseService.makeDeferredPurchase (package:word_daily/services/purchase/adapty_purchase_service.dart:376)
x401om commented 2 years ago

fixed in 1.0.14