You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Withmparticle-web-sdk we can currently use user.isLoggedIn() to check whether a user is logged in or not; I dug into this repo's code but I couldn't find any equivalent function to check this.
Currently the React Native SDK doesn't support user.isLoggedIn() but, the alternative approach you suggested is what we would suggest to customers who want that functionality asap. In other words if you check the value of whatever you primarily identify your users by (Customer Id, Email, etc) and its null they are an anonymous user (ie not logged in).
With
mparticle-web-sdk
we can currently useuser.isLoggedIn()
to check whether a user is logged in or not; I dug into this repo's code but I couldn't find any equivalent function to check this.Is this supported by
react-native-mparticle
or maybe we should rely on some alternative approach like checking foruserIdentities.CustomerId
as mentioned in the android docs (https://docs.mparticle.com/developers/sdk/android/javadocs/com/mparticle/identity/MParticleUserImpl.html#isLoggedIn())?Thanks.
The text was updated successfully, but these errors were encountered: