Skip to content

Could not parse product: missingValue #612

@xalikoutis

Description

@xalikoutis

Please use the Discussions board for questions or help. Use Issues strictly to report bugs.

Description

My subscriptions are added though app store connect api, when i try to fetch them thorough the package, i get an empty list, but inApp-purchases(nonConsumable) are fetched just fine.
I run the project through xcode and i found the following error

flutter: [flutter_inapp_purchase] fetchProducts called with skus: [plan_ux_fund_pkg_2], type: all
[FlutterIap] Swift handle called with method: fetchProducts
[FlutterIap] fetchProducts payload: {"type":"all","skus":["plan_ux_fund_pkg_2"]}
Could not parse product: missingValue(for: [StoreKit.ProductResponse.Key.attributes, StoreKit.ProductResponse.Key.subscriptionGroupLevel], expected: StoreKit.BackingValue)
[FlutterIap] fetchProducts result: []
flutter: [flutter_inapp_purchase] Received 0 items from native
flutter: [flutter_inapp_purchase] Processed 0 products

Error

Could not parse product: missingValue(for: [StoreKit.ProductResponse.Key.attributes, StoreKit.ProductResponse.Key.subscriptionGroupLevel], expected: StoreKit.BackingValue)

Expected Behavior

should return requested subscriptions
Screenshots

The subscription is in status Ready for Submit

Image

Environment

  • flutter_inapp_purchase: 8.2.4
  • Flutter: 3.35.4
  • Platforms: IOS

Latest Version Check

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions