Akshat_Rana
(Akshat Developer)
#1

🔒 SecureDB
SecureDB is an extension for Ai2 Appinventor and its distros which stores data for your app in a secure format locally on user's device.
ℹ️ SecureDB
💡 Current Version 1.0
📁 File Size 325 KB
📦 in.akshatt.SecureDB
📅 Created On 2022-09-22

isReady - Returns if SecureDB is ready.

DestroyDB - Destroys SecureDB instance.

StoreValue - Store the given value under the given tag…

GetValueWithTag - Retrieve the value stored under the given tag.

tagCount - Check total tag count

GetValue - Retrieve the value stored under the given tag.

ClearAll - Clear the entire data store.

tagExist - Check if any tag exists.

ClearTag - Check total entry count.
↘️ Usage

Special thanks to @Shreyash for his amazing Rush
Note :- This extension is having an issue is storing and getting values of the list
Extension
in.akshatt.SecureDB.aix (324.6 KB)
Get Source Code On Github:-
Special thanks to the library owner:-
You are welcome to give your valuable contribution to this extension.
Hit
button if you liked the extension.
9 Likes
Xoma
(Kumaraswamy)
#2
Nice, but the block names should be changed.
isReady
>> IsReady
tagCount
>> TagCount
tagExist
>> TagExists
1 Like
Akshat_Rana
(Akshat Developer)
#3
Thanks for the suggestions. I will implement the changes
1 Like
oseamiya
(Oseamiya)
#4
You may encrypt the json representation string instead of list object directly.
For example, in your code,
public void StoreValue(final String tag, final Object valueToStore) {
Hawk.put(tag, JsonUtil.getJsonRepresentation(valueToStore));
}
3 Likes
Nice extension
what is different between it and tiny db ?
hammerhai
(Nathan)
#6
Something like this already exists.
Akshat_Rana
(Akshat Developer)
#7
You can always look into the source code I provided to check it’s functioning
2 Likes