Solved

info.entitlements empty despite having product in dashboard

  • 17 January 2022
  • 2 replies
  • 283 views

Badge +2

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

<RCEntitlementInfos: self.all={

}, self.active={

}>

icon

Best answer by tina 22 January 2022, 01:20

View original

2 replies

Userlevel 5
Badge +10

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