I am new to React Native and currently building an App in Expo. I am trying to add an offline feature in my app. Take Profile Screen for e.g. if a user updates his/ her name in the app and it doesn't have the internet access/ is offline so when the user gets back online his/ her name will be uploaded on the database. Till then, it should be able to see his updated name on his phone only.
So far I have build only front end part which accepts Name only. But don't know how to add this feature in my app ?
I am good at developing frontend but don't have a good knowledge how to connect frontend to db and backend. It will be helpful if someone can put some highlight for that?
Can anyone tell me how to achieve this type of offline feature ?
There are many way to achieve something like this. This works out of the box with Cloud Firestore, which is one way to accomplish offline functionality/persistence.
Check out this: Using Firebase with Expo.