Publisher | Kexit |
---|---|
File size | 36.69kB |
Number of files | 4 |
Latest version | 1 |
Latest release date | 2024-01-24 05:05:12 |
First release date | 2024-01-24 05:05:12 |
Supported Unity versions | 2018.4.2 or higher |
Secure storage for Android OS is a lightweight and simple plugin that allows you to store data securely on Android. It can be used to store user credentials or some other sensitive data.
Key features:
- Uses AES encryption to protect the data.
- Light weight (size only 6KB).
- Easy to use. Contains only 3 methods: Add, Get and Delete.
- No need to think about how and where to instantiate a service, just call it wherever you need it.
- There are no restrictions on recording size. The only limitation is the maximum length of the string type (2^31 characters).
Examples:
// Store a value
AndroidSecureStorageService.Instance.SetValue("Some key", "Some value");
// Get a value by key
AndroidSecureStorageService.Instance.GetValue("Some key");
// Delete a value by key AndroidSecureStorageService.Instance.DeleteValue("Some key");
To be able to use AndroidSecureStorageService you need to add "using Assets.AndroidSecureStorage.Scripts;" to the usings section of your script.