sitefinitysteve / nativescript-preferences Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I have an issue with opening preference screen on an android device (real device and emulator). It shows an empty activity screen.
In the console a got:
JS: topmost() is deprecated. Use Frame.topmost() instead
Has anyone upgraded this for API29?
I know the old PreferenceScreen is depreciated
<androidx.preference.PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
</androidx.preference.PreferenceScreen>
instead of
implementation 'androidx.preference:preference:1.0.0'
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-webpack": "~0.18.0",
"eslint": "~5.8.0"
Installed the plugin via tns plugin add nativescript-preferences
Then Using below code which gives error:
const Preferences = require("nativescript-preferences");
const prefs = new Preferences(); // error on this line: "System.err: TypeError: Preferences is not a constructor"
Thanks
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-webpack": "~0.18.0",
"eslint": "~5.8.0"
Thanks for nice plugin!
I have implemented this and works fine. However on preferences screen, actionbar is missing.
Can you please tell how can I add actionbar to preferences screen to make it consistent with rest of the app.
Thanks
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.