apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 210 forks source link

Hi everyone! I have an issue in running this plugin on Android version 4.x.x. Did someone have the same one? How can i solve it? Thanks #127

Open rosi92b opened 7 years ago

rosi92b commented 7 years ago

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: