Facebook relogin

#1

Hi:

May i ask what is the proper workflow in knowing the login status of a user? Say a user facebook login already so the app shouldnt really ask for login again (assuming token still valid). Is LocalStorage a good practice to retrieve status if user reopens the app?

Thanks!

Sunny

0 Likes

#2

Yeah, try saving the token and expiration to AsyncStorage and then looking it up later to decide if the user is still logged in.

0 Likes