You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
No error occurs on checkSubscribed() call
Actual behavior
_CastError (type 'Future<List<PurchasedItem>?>' is not a subtype of type 'FutureOr<List<PurchasedItem>>' in type cast) occurs on checkSubscribed() call
Tested environment (Emulator? Real Device?)
Emulator, real device
Steps to reproduce the behavior
Call checkSubscribed()
The text was updated successfully, but these errors were encountered:
dmiedev
changed the title
_checkSubscribed() - _CastError (type 'Future<List<PurchasedItem>?>' is not a subtype of type 'FutureOr<List<PurchasedItem>>' in type cast)
checkSubscribed() - _CastError (type 'Future<List<PurchasedItem>?>' is not a subtype of type 'FutureOr<List<PurchasedItem>>' in type cast)
Aug 24, 2021
Version of flutter_inapp_purchase
5.0.2
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
No error occurs on
checkSubscribed()
callActual behavior
_CastError (type 'Future<List<PurchasedItem>?>' is not a subtype of type 'FutureOr<List<PurchasedItem>>' in type cast)
occurs oncheckSubscribed()
callTested environment (Emulator? Real Device?)
Emulator, real device
Steps to reproduce the behavior
checkSubscribed()
The text was updated successfully, but these errors were encountered: