-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add android X support #1226
Comments
@vtrifonov there are some missing pieces. In here
is needed to also update this file. I successfully build using that change |
Thanks for your feedback! We’ve added the update from above. |
I try to use Material DateTime Picker library (it worked fine until lib version 3.6.4)
But looks like it use AndroidX, so build failed with error:
I've tried to add such lines to
|
@webleaf currently the tns-core-modules doesn't support AndroidX, so you won't be able to use it in a NativeScript application. The support in the modules would come in one of our next releases. |
Add androidX support.
In order to turn it on you need to add in the
app.gradle
file:You can set
androidx.legacy:legacy-support-v4
(replacescom.android.support:support-v4
) ,androidx.appcompat:appcompat
(eplacescom.android.support:appcompat-v7
) andcom.google.android.material:material
(replacescom.android.support:design
) versions setting the following variables:Have in mind that in order to make the application work with android X you'll need to have a version of tns-core-modules and all the plugins you use which works with android X
The text was updated successfully, but these errors were encountered: