Question

Purchase info. empty(iOS SDK) for purchased subscription.

  • 6 January 2022
  • 2 replies
  • 61 views

Badge +2

Please check below details about bug. 

  1. User has purchased subscription from application. 
  2. Once user close the app and open again within same day or within some time. We are getting purchase info. with active status true. So, in this case it’s working well. 
  3. But if user reopen app after a day or couple of days, we are getting purchase info. NULL(Purchases.shared.purchaserInfo) even my purchase is still valid. Now if user restore it then it’s again working well and I am getting purchase info. in restore purchase request. 

Can you please help me out for this? I don’t know why it’s happing and what is the solution for this. 

Also, I am seeing dozens of user Aliases in Revenue-cat portal, Aliases are created on daily bases. Not sure why so many aliases created for particular user even subscription is not expired. 


2 replies

Userlevel 6
Badge +8

Hey @Doug McArthur!

Can you provide some more info here?

  • SDK version
  • Reproducible logs

Can you clarify what you mean by close and open again? Additionally, can you detail the flow of how you are identifying users? (only using anonymous IDs, calling login/logout, etc.)

Badge +2

Hey @Doug McArthur!

Can you provide some more info here?

  • SDK version
  • Reproducible logs

Can you clarify what you mean by close and open again? Additionally, can you detail the flow of how you are identifying users? (only using anonymous IDs, calling login/logout, etc.)

Sdk:-  ‘3.12.8'
Log:- 
 

App user id ():- 8569fdb21142480fb2d6af68e53463ff
 

07-01-21  (Duplicate User id):- 7bef40d1d0e7455996e5404945662434

 

Optional(<PurchaserInfo

originalApplicationVersion: (null),

latestExpirationDate: (null)

activeEntitlements: {

},

activeSubscriptions: {

},

nonConsumablePurchases: {(

)},

requestDate: 2022-01-07 17:00:03 0000

firstSeen: 2022-01-07 17:00:03 0000,

originalAppUserId: $RCAnonymousID:7bef40d1d0e7455996e5404945662434,

entitlements: {

},

>)

Reply