Storing data
The Minis platform provides a few different ways to store data associated with a user. This guide will walk you through the different options and when to use each.
Anchor to Async storageAsync storage
The useAsyncStorage hook provides a way to store data in the device's local storage. It's a simple and easy way to store data that persists across sessions, but it will be deleted if the user uninstalls the Shop app.
Anchor to Secure storageSecure storage
The useSecureStorage hook provides a way to store credentials and other sensitive data in the device's secure storage. It's a more secure way to store data that persists across sessions, but it will be deleted if the user uninstalls the Shop app.
Was this page helpful?