Skip to main content
Solved

info.entitlements empty despite having product in dashboard


Forum|alt.badge.img+2

Despite having entitlement in my dashboard, when I print (info.entitlements), I get:
 

<RCEntitlementInfos: self.all={

}, self.active={

}>

Best answer by tina

Hi @Daniyal Dehlehhosseinzadeh 

The EntitlementInfo object is tied to a subscriber’s subscription status. Meaning if the app user ID you’re testing with has not purchased a product that’s attached to an entitlement yet, the EntitlementInfo object will be null. You should make a sandbox purchase first, then recheck the EntitlementInfo object. 

View original
Did this post help you find an answer to your question?

2 replies

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • January 22, 2022

Hi @Daniyal Dehlehhosseinzadeh 

The EntitlementInfo object is tied to a subscriber’s subscription status. Meaning if the app user ID you’re testing with has not purchased a product that’s attached to an entitlement yet, the EntitlementInfo object will be null. You should make a sandbox purchase first, then recheck the EntitlementInfo object. 


Hi, may I ask is there any means for me to have access to all the entitlements before a purchase was being made? Thanks!


Reply


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