OptionalnamespacePrefix for every key ("app" stores theme as app:theme). keys() and clear() only
touch keys with this prefix, so several storages can share one backend.
OptionalmaxLargest encoded value in UTF-8 bytes. Default 1 MiB; a driver may lower it.
OptionalcacheKeys whose stored text stays cached while nothing subscribes to them. Default 500.
OptionalonCalled when stored data cannot be read (corrupt, failed validation, newer version) and the default value is returned instead, or when a background clean-up write fails.
OptionalnowClock used for TTLs, in milliseconds since the epoch. Default Date.now.
Where values are saved:
mmkvDriver(...),asyncStorageDriver(...),memoryDriver()…