iOS Question Using KeyValueStore in IOS

ThePuiu

Active Member
Licensed User
Longtime User
I want to use KeyValueStore to store usernames and other application variables. I added the KeyValueStore.b4xlib library to the Additional Libraries folder and included the library in the project.
In B4A we use the code:
B4X:
Dim kvs As KeyValueStore
kvs.Initialize(File.DirAssets, "myapp.dat")
.....
but now the file cannot be created automatically because the folder is readonly. How should I proceed?

Thank you!
 
Top