cordova-plugin-playlist
cordova-plugin-playlist copied to clipboard
Android X Library Support
Currently, android has stopped maintaining the support library, opting to replace it with the Android X library. This has caused issues when building with other plugins that use android x libraries, and unless updated will eventually use deprecated libraries. If you attempt to build the project with android X support enabled, it fails when building.
Reproduce Scenario (including but not limited to)
Build with an app that has Android X Support enabled
Steps to Reproduce
Add the plugin to your cordova project, and then add this code to your cordova project's config to enable Android X support.
<platform name="android"> <preference name="AndroidXEnabled" value="true" /> </platform>
And then build.
Cordova CLI version and cordova platform version
This was done using Cordova v10.0.0 and Cordova-Android v9.0.0
Namely, the plugin uses FloatRange, IntRange, NotNull, and Nullable from the support library. I've already replaced the code using the support library in my own project, and have created a fork to fix this issue.