The @sumsub/react-native-mobilesdk-module@1.40.2 android/build.gradle uses deprecated APIs removed in Gradle 9:
lintOptions block (line 51) should be lint
androidJavadoc.destinationDir (line 124) should be destinationDirectory
Expo SDK 55 / React Native 0.83 uses Gradle 9.0.0 which breaks the build
If you want to support older AGP versions you can fix it something like
// For lint
if (android.hasProperty('lint')) {
lint { abortOnError false }
} else {
lintOptions { abortOnError false }
}
// For destinationDir/destinationDirectory
from androidJavadoc.hasProperty('destinationDirectory')
? androidJavadoc.destinationDirectory
: androidJavadoc.destinationDir
But this is overkill (IMHO) because the lint supports since 7.0 AGP and destinationDirectory since 6.1 Gradle
React Native 0.70.0 already requires AGP 7.2, so idk how old projects you support but looks like it can be just replaced
If it's possible, can you fix that before the 55 expo sdk will release as stable?
Thank you in advance
The
@sumsub/react-native-mobilesdk-module@1.40.2android/build.gradle uses deprecated APIs removed in Gradle 9:lintOptionsblock (line 51) should belintandroidJavadoc.destinationDir(line 124) should bedestinationDirectoryExpo SDK 55 / React Native 0.83 uses Gradle 9.0.0 which breaks the build
If you want to support older AGP versions you can fix it something like
But this is overkill (IMHO) because the lint supports since 7.0 AGP and destinationDirectory since 6.1 Gradle
React Native 0.70.0 already requires AGP 7.2, so idk how old projects you support but looks like it can be just replaced
If it's possible, can you fix that before the 55 expo sdk will release as stable?
Thank you in advance