Introduction

Important:

Native mobile apps have access to 2 types of storage through the Storage Mobile API:

  • Local: Data in local storage is saved to the device and remains accessible indefinitely as long as the app's storage is not cleared. The data can still be retrieved after closing and reopening the app.

  • Memory: Data in memory storage is available as long the user or operating system doesn't close the app. Closing the app clears the memory storage data.

To use the Storage Mobile API, import the needed storage type(s) from the wix-storage-mobile module:

Copy
Did this help?