Question

Android SDK logInWith not working


Badge +5

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

 

 


3 replies

Userlevel 3
Badge +6

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. 

Badge +5

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. 

Userlevel 3
Badge +6

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