Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Ios Storage does not work

$
0
0

@nikalsboehner wrote:

Hello,

any storage functions does not work on IOS. (Android & Browser: no problem).

constructor(public navCtrl: NavController, public navParams: NavParams, public http: Http, public storage: Storage, public alertCtrl: AlertController, public loadingCtrl: LoadingController)
	{
		storage.ready().then(() => {
			storage.get('token').then((val) => {
				this.loadEvents();
				console.log(val);
			});
		});
	}

No output in console and my function “loadEvents” will not called.

I’v already removed the storage plugin and installed again.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>