Team-uMigrate / umigrate

Source code for the uMigrate project
13 stars 2 forks source link

Mobile: Store user token and Expo push token in async storage #314

Closed deandrebaker closed 3 years ago

deandrebaker commented 3 years ago

We need to find out how to store the authentication token and the expo push token in async storage. We can then check async storage for the auth token when the page first loads, then use the auth token to authenticate the user. We can also use the expo push token to register the current device with the user (add a helper function for accessing the api/devices/ endpoints)