Skip to main content
Question

entitlementInfo Identifier Case is Inconsitent


Forum|alt.badge.img+4
  • New Member
  • 3 replies

I am implementing paid subscriptions in my iOS app. I have an entitlement called “Pro” in RevenueCat, but this seems to be returned to the app sometimes as “pro” and sometimes as “Pro”. 

 

I get the entitlements using Purchases.shared.getCustomerInfo { (purchaserInfo, error) in 

}

 

purchaserInfo?.entitlements contains one entry as expected, but both the key and the entitlementInfo.identifier are “pro” not “Pro”. However, just after a purchase completes successfully, it is [edit: sometimes] returned as Pro. 

This is using a sandbox user, if that is relevant.

Is this expected behaviour? I suspect not, but can’t figure out what’s going in. Perhaps something to do with caching of user entitlements. Any ideas?

 

    
 

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings