diff --git a/android/build.gradle b/android/build.gradle index 51f920e..4fe6848 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,8 +22,8 @@ android { defaultConfig { minSdkVersion 24 targetSdkVersion 34 - versionCode 21 - versionName "1.21" + versionCode 22 + versionName "1.22" } lintOptions { abortOnError false @@ -32,6 +32,7 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 + coreLibraryDesugaringEnabled true } } @@ -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' } diff --git a/package.json b/package.json index 5ab2e16..3c81701 100644 --- a/package.json +++ b/package.json @@ -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",