8.2.0
Breaking Changes
-
Parameter naming:
RequestPurchaseProps.inApp()andRequestPurchaseProps.subs()now useapple/googlefields instead ofios/android- This aligns with the OpenIAP GQL schema
- The type generation script now dynamically reads field names from the schema
// Before (8.1.x) RequestPurchaseProps.inApp(( ios: RequestPurchaseIosProps(sku: 'product_id'), android: RequestPurchaseAndroidProps(skus: ['product_id']), )) // After (8.2.0) RequestPurchaseProps.inApp(( apple: RequestPurchaseIosProps(sku: 'product_id'), google: RequestPurchaseAndroidProps(skus: ['product_id']), useAlternativeBilling: null, ))
Deprecated
-
AlternativeBillingModeAndroid: UseBillingProgramAndroidinsteadAlternativeBillingModeAndroid.alternativeOnly->BillingProgramAndroid.ExternalOfferAlternativeBillingModeAndroid.userChoice->BillingProgramAndroid.UserChoiceBilling
-
alternativeBillingModeAndroidparameter: UseenableBillingProgramAndroidininitConnection()instead
Dependencies
- Updated OpenIAP versions:
openiap-gql: 1.3.10 -> 1.3.11