16

This is going to be a dumb question cause I couldn't show any code as I don't what happened or where this is possible happening.

I have been developing a react native app for months now and from the I only have to log in my account once then persist the token using Asynstorage then I can develop the whole day without having to login again.

Now there are two of us who are touching the code and as far as i'm concerned I haven't put any code that clears the Asyncstorage. The other one said he doesn't know either so i've been scanning the code where it removes data from Asyncstorage but there are none.

So my question would be, what are other possible reasons that might clear Asyncstorage every time the app refreshes in Expo, either when I edit something (which it automatically refresh) or when I manually refresh it from the emulator.

Thanks in advance!

Jed
  • 1,054
  • 1
  • 15
  • 34

0 Answers0