Issue:
I've tested it on multiple versione of android 4.x.x.
On Android 5 it works.
It gives me back this error:
TypeError: string is not a function
I'm working on Cordova 6.4.0 .
This is my code:
This function has an input type text in the html code
self.save = function () { $cordovaPreferences.store('name', self.name, 'profiledb') .then(function (value) { name = self.name; console.log('Im saving!'); }, function (ko) { console.log("User profile error: " + ko); }); };
Plugin version:
[x] released version: 0.99.3
[ ] repository master
Toolchain:
[x] Cordova cli
[ ] Phonegap cli
[ ] Phonegap cloud
[ ] Ionic
[ ] Other: _____
Platforms affected:
[x] Android
[ ] iOS/macOS
[ ] LocalStorage fallback for browser and blackberry
[ ] Windows and Windows Phone 8.1 and later
[ ] Windows Phone 8 and earlier (deprecated)
What the scope of your problem:
[x] General functionality (store/fetch/remove/clearAll)
Issue: I've tested it on multiple versione of android 4.x.x. On Android 5 it works.
It gives me back this error: TypeError: string is not a function
I'm working on Cordova 6.4.0 .
This is my code: This function has an input type text in the html code
self.save = function () { $cordovaPreferences.store('name', self.name, 'profiledb') .then(function (value) { name = self.name; console.log('Im saving!'); }, function (ko) { console.log("User profile error: " + ko); }); };
Plugin version:
Toolchain:
Platforms affected:
What the scope of your problem: