Skip to content

Commit a6ef5e2

Browse files
authored
Merge pull request #110 from emartech/MACS-344
chore: enabled desugaring
2 parents 711a169 + c8f50a0 commit a6ef5e2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

android/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ android {
2222
defaultConfig {
2323
minSdkVersion 24
2424
targetSdkVersion 34
25-
versionCode 21
26-
versionName "1.21"
25+
versionCode 22
26+
versionName "1.22"
2727
}
2828
lintOptions {
2929
abortOnError false
@@ -32,6 +32,7 @@ android {
3232
compileOptions {
3333
sourceCompatibility JavaVersion.VERSION_1_8
3434
targetCompatibility JavaVersion.VERSION_1_8
35+
coreLibraryDesugaringEnabled true
3536
}
3637
}
3738

@@ -47,4 +48,5 @@ repositories {
4748
dependencies {
4849
implementation "com.facebook.react:react-native:+"
4950
implementation "com.emarsys:emarsys-sdk:3.7.+"
51+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.1.2'
5052
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-emarsys-wrapper",
3-
"version": "1.21.0",
3+
"version": "1.22.0",
44
"description": "React Native wrapper for Emarsys SDK",
55
"main": "index.js",
66
"types": "typescript/index.d.ts",

0 commit comments

Comments
 (0)