I develop a mobile application using phonegap.
The main Issue I'm facing is to store an application setting (Display language, Notification Allow , ...) in way that allow me to access them from java code and from the javascript code
I found that I have two ways to store those settings:
- Using database.
- Using SharedPreferences.
- ???
I did not find a suitable cordova plugin that allow me to store and load from sharedPreferences and hopeful if there is a ready plugin to act with it,
and wonder which way is better in performance and more common in general.