adriano-di-giovanni / cordova-plugin-shared-preferences Goto Github PK
View Code? Open in Web Editor NEWShared preferences for Cordova. Save and retrieve persistent key-value pairs of any Javascript data type.
License: MIT License
Shared preferences for Cordova. Save and retrieve persistent key-value pairs of any Javascript data type.
License: MIT License
I'm trying to get a String on shared preferences on API 30. But is not retrieving the value and it's not giving an error. Just freeze the intere application. Do you have any solution to it?
Could try it on your smartphone please.
Hello,
I get an error:
2019-06-16 22:55:15.554 30449-30449/pl.expij.app D/SystemWebChromeClient: file:///android_asset/www/cordova.js: Line 312 : Uncaught TypeError: Cannot read property 'get' of null
2019-06-16 22:55:34.680 30650-30650/pl.expij.app D/SystemWebChromeClient: file:///android_asset/www/js/index.js: Line 23 : Uncaught TypeError: Cannot read property 'SharedPreferences' of undefined
on line:
this.prefs = window.plugins.SharedPreferences.getInstance();
It starts to pop up from nowere, everything was working fine and one time app give that.
I thought this should work across apps... but it doesn't. I use the same set in both my Cordova apps, but the key-value pair I create in one app, doesn't exist in the other app. Is there a way to fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.