Im creating ionic project with basic crud function using local storage.
I want to upload my data in the cloud when there is an internet connection.
But if there will be no internet connection I can still used it offline.
But how can I upload my data from ionic app to cloud or firebase
I need advice
Help ionic local storage to cloud!
Im creating ionic project with basic crud function using local storage.
First maybe do some small tutorials with Firebase to get a better understanding.
After it you can do very easy your request.
for network feedback you can do like that:
import {Network} from '@ionic-native/network'; this.Network.onConnect().subscribe(() => { // connected }); this.Network.onDisconnect().subscribe(() => { // disconnected });
2 Likes
wow thanks this will be a huge help for me