Search code examples
angularionic4capacitor

How to set local storage for capacitors in ionic4


I'm new to ionic, and i'm using capacitor. How to use local storage for capacitor to store the api token. there are many tutorial about cordova localstorage. But i don't know to do it for capacitor.


Solution

  • You can to use Ionic Storage

    Take a look to the doc here. You don't need to do some special thing. It works independently of the platform.