Storage
Each Mini App can have its own local cache, which can be read, written and cleaned up through 'ft.setStorage', 'ft.getStorage', 'ft.clearStorage', 'ft.removeStorage'.
# 1. Quarantine policy
Storage is isolated in user dimensions, and on the same device, user A cannot read the data of user B; Different Mini Apps cannot read or write data to each other.
# 1.1 Plugin isolation policy
The same Mini App uses different plug-ins: between different plug-ins, plug-ins and Mini Apps do not communicate with each other. Different Mini Apps use the same plugin: the same plugin storage does not communicate with each other.
# 2. Cleanup policy
The local cache is cleaned up at the same time as the code package, and the local cache is only cleaned up when the code package is cleaned.
Last update: 2022/08/11, 21:21:29