Skip to main content

In the Customer Info (https://www.revenuecat.com/docs/api-v1#tag/customer_info_model) `subscriber` field, there is a dictionary of identifiers to subscriptions. It looks like the identifier is the product identifier from the respective stores. What happens if the same identifier is present on the App Store and Google Play?

 

 

 

Hey There,

 

In this object you can access more information about the subscription that is being looked at. What I would do in this case is check for the store field as this will help tell you which store this specific subscription is from.

 

Let me know if that helps and if you have any other questions! 


Hi Michael,

I understand that, but let’s suppose I have the following:

  • 1 product with identifier “com.myapp.premium” on the App Store
  • 1 product with identifier “com.myapp.premium” on Google Play

And they are not associated with the same entitlements (for some reason).

What would the customer info look like?

“entitlements”: {

“premium”: {

product_id: “premium” //

},

“premium 2” {

product_id: “premium”

}

},

“subscriptions”: {

“premium”: {

// Which one is it?

}

}


I know this is unlikely to happen, but it feels like the data model is incorrect or I misunderstand something.

Thanks!

Bruno