The path i used is allowed to access and manage the json files, it will work on all android devices. Make sure you add a more block to create the JSONPreference Block's methods in the activity.
Custom Blocks: https://t.me/emoakki/42 And inside the assets folder
This app includes functionality to use JSONPreference Blocks instead of Shared Preference, and manage the .json file for storing any key value and data.
Also I have added- android:hasFragileUserData="true" to the Android manifest of application, it will ensure the file won't get deleted on app uninstall if user choose to.
Import & Export Added functionality to import a file and export a file using Intent (SAF: Storage Access Framework) to make sure it work on all android devices including Android 9,10, and +more
See the screenshots for more information. Made by EMOAKKI
Note: It cannot survive Cleared App Data ❌ and nor the app unistallation, it will delete the data.json file ❌ So you must use the import and export otherwise ask permissions to store in external storage.
Join Telegram: https://t.me/emoakki
©2025 Sketchub | User Policy