Add support for AndroidX libraries
- [x] I have verified the issue exists on the latest version
- [x] I am able to reproduce it
Version used: 1.12.0 Stack trace: None Android version: Android 9.0
Starting with Android Pie 9.0, the AndroidX libraries are being preferred over the traditional Support libraries. I tried to refactor my code to AndroidX libraries but cannot use them with TapTargetView as it's dependent on the Support libraries.
Example:
TapTargetView.forToolbarMenuItem() demands a Toolbar widget from the support library and I'm unable to use it with the AndroidX library.
In the meantime you can try setting android.enableJetifier=true in your gradle.properties file (Assuming you use gradle).
https://developer.android.com/jetpack/androidx/
android.enableJetifier: When set to true, the Android plugin automatically migrates existing third-party libraries to use AndroidX by rewriting their binaries. The flag is false by default if it is not specified.