Closed TheLangdaTyagi closed 2 years ago
If you don't want to bump compileSDKVersion
to 31, Could you try one of the below strategies mentioned in our learn pages?
Exclude core-ktx
& appcompat
and add them separately that are compatible with compileSDKVersion
< 31
dependencies {
implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation ('com.apptentive:apptentive-android:5.8.3') {
exclude group: 'androidx.core', module: 'core-ktx'
exclude group: 'androidx.appcompat', module: 'appcompat'
}
}
or use a force resolution strategy
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
force 'androidx.appcompat:appcompat:1.3.1'
}
}
Ok that works.
What was confusing was the Android-P Support
section at https://learn.apptentive.com/knowledge-base/integrating-the-apptentive-cordova-sdk-plugin/
If that's not consistent can we update that?
Thanks for the inputs! Appreciate it. This thread can now be closed. (leaving it open just in case the above needs to be updated. if not kindly go ahead and close it.)
Thanks for pointing it out! We have updated that section.
Min SDK version mentioned in the docs is 28. Updated apptentive-cordova to 6.0.0, running android build throws the below error which is forcing me to upgrade to min sdk 31.
Workspace - Angular - 13 Ionic - 6 cordova - 10.0.0 cordova-android - 10.1.1 Working apptentive-cordova version - 5.7.1
Really need to update to the latest version as it's mandated by app stores. Would love to get any eyes on this if possible, let me know if more info is needed.
Thanks