As simple push-a-button tester.
Allows to see
- if the EncryptedSharedPreferences based storage is operational on a given device.
- If not then allows to post logs about the failure
- the speed difference on the Read, Write and Delete operations between EncryptedSharedPreferences and SharedPreferences
Disclaimer: Storage structure uses per-object prefs files. If this is not a need for you then you can easily modify it to use a single file.
There are the following options
-
Take the latest debug build from GitHub releases.
-
Releases:
https://github.com/LabMobi/HardwareKeyBasedEncryptedStorageTesterAndroid/releases
- You can direct-download or scan a download QR there.
-
-
Install it
-
Run it via
Test storage
button
- Clone the repository
- Switch to master branch
- Compile and run the debug build variant
- Run it via
Test storage
button
-
Clone the repository
-
Switch to master branch
-
Install via Gradle:
.\gradlew installDebug
-
Run it via
Test storage
button
Use the button from the Toolbar and chose a destination to share to log file to.
Full build can be done via:
.\gradlew buildAllRelease
This builds all variants and runs all linters.
Code linters (Detekt, ktlint) can be also ran separately via:
.\gradlew checkCode
NOTE: This skips the Android Lint as that takes a long time to run and rarely has something to say.
Email: hello@lab.mobi
Twitter: https://mobile.twitter.com/LabMobi
Web: https://lab.mobi/