defaultNamespace property
String
defaultNamespace
The default namespace for keys-value pairs.
Unless platform specific options are provided, this will be used in the following way on each platform:
- iOS & macOS: the Keychain service name
- Android: the EncryptedSharedPreferences file name
- Windows: the prefix for file name used to store encrypted data
- Linux: prefix for the SecretSchema schema name
- Web: the Indexed DB Database name
Implementation
String get defaultNamespace => namespace ?? 'com.amplify.$scope';