Skip to main content

Hi,

I am adding a subscription for an app in the play store. Android and ios ids must be the same on our side. But when adding android subscription, we add it period and the product id is created automatically, but the android and ios ids are different, how can we solve this problem?
Subscription is on auto-renewal. We have added a subscription before, but we did not encounter such a problem. Has RevenueCat been updated?Can you help me ?
example-------

ios: com.app.subscription

android:com.app.subscripton:p1m

Thanks in advance :)
 

 

 

Hello!

The :p1m part of the Android subscription is expected and shouldn’t affect any functionality. Currently it’s just a difference in how the product is displayed in the dashboard. This is indeed a new update, as we are preparing to support Google Play Billing Client 5. If you notice anything that doesn’t work, please let us know!


Well it does affect functionality:

  • When using Purchases.getProducts, we need to use the id without the period
  • When using Purchases.purchaseStoreProduct, we need to provide a StoreProduct object, from the array we get from Purchases.getProducts, whose identifiers have the period.
  • When using entitlements, we need to use the id without the period
  • In the _customerInfo?.activeSubscriptions array, products ids have the period

Unless I’m missing something, on Android we need to add/remove the period depending on the method we need to use, which is very cumbersome...


Reply