Solved

info.entitlements empty despite having product in dashboard

  • 17 January 2022
  • 1 reply
  • 41 views

Badge

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

1 reply

Userlevel 4
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. 

Reply