Skip to main content
Question

Android SDK logInWith not working


Forum|alt.badge.img+5

I set up USER_ID to the Purchases.sharedInstance.logInWith() method and then SDK response created parameter always return false.

 

 

3 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • March 10, 2023

Hey @MB_DEV ,

 

I recommend following this guide on logging in on our SDK. logInWith is typically used after a log out to identify a new user without calling configure again. 


Forum|alt.badge.img+5
  • Author
  • New Member
  • 1 reply
  • March 14, 2023

I following this  guide  on logging in SDK. I used purchasePackageWith() and then purchase  successful, but customerInfo.originalAppUserId parameter always return $RCAnonymousID, not my logging user id. 


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • March 15, 2023

Hey @MB_DEV ,

 

The originalAppUser ID will return the first app user id used by the subscriber. You can call getAppUserId for just appUserId. This will return the last seen app user id of the subscriber.


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