Skip to content

Commit

Permalink
chore: enabled desugaring
Browse files Browse the repository at this point in the history
  • Loading branch information
biancalui-emarsys committed Oct 15, 2024
1 parent 711a169 commit c8f50a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdkVersion 34
versionCode 21
versionName "1.21"
versionCode 22
versionName "1.22"
}
lintOptions {
abortOnError false
Expand All @@ -32,6 +32,7 @@ android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
}
}

Expand All @@ -47,4 +48,5 @@ repositories {
dependencies {
implementation "com.facebook.react:react-native:+"
implementation "com.emarsys:emarsys-sdk:3.7.+"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.1.2'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-emarsys-wrapper",
"version": "1.21.0",
"version": "1.22.0",
"description": "React Native wrapper for Emarsys SDK",
"main": "index.js",
"types": "typescript/index.d.ts",
Expand Down

0 comments on commit c8f50a0

Please sign in to comment.