Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230094

Ionic Storage - Angular new API

$
0
0

Hi there

As per new specs the Ionic Storage has a new API which requires you to invoke storage.create() before using it for the first time.

I am not clear about where to do this if I have a storage that is to be used across the app - do I need to do the create in app.component.ts, or do I actually need to create a service that wraps storage and provides for the initial create?

In the earlier API, the create was done through the module include at app.module.ts (implicitly).

Any thoughts would be very welcome!

Thx


Viewing all articles
Browse latest Browse all 230094

Trending Articles



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