Hi ! I’m a beginner with react native, and i took a project midway, so sorry if my question is basic, but i haven’t found an answer.
So i connect to the app via Facebook, using Expo. I use the token to stay connected and (WIP) to create user in the database. But i need the expiration date of the token if i want to know if i need to ask a new one to fb.
When i console.log expires that i previously stocked in AsyncStorage, it gives me a Promise object that i don’t know how to handle.
"_40" : 0,
"_65" : 0,
How can i transform this into something usable ?