Migrating Ionic app to AndroidX

Have any of you guys experience with migrating to AndroidX libraries? We are required to use a 3rd party SDK that is based on AndroidX and as far as our research go, this requires our app to be migrated to AndroidX as the old support libraries can’t live side by side with AndroidX libraries. So far it looks like that some crucial plugins like cordova-plugin-camera and cordova-plugin-ionic-webview are still using the old support libraries, thus can’t be used in this scenario without some manual upgrades, which is a showstopper for us at this point, unless i’m missing something… Would like to hear from anybody that came across this issue

1 Like

Hello, I found myself in a similar issue and this resolved my situation:

# add plugin to enable AndroidX in the project
cordova plugin add cordova-plugin-androidx

# add plugin to patch existing plugin source that uses the Android Support Library to use AndroidX
cordova plugin add cordova-plugin-androidx-adapter

Which can be found here: