Skip to content

Commit

Permalink
chore: update sdk version
Browse files Browse the repository at this point in the history
MV-775
  • Loading branch information
biancalui-emarsys committed Oct 2, 2024
1 parent 7ddbe5e commit 253e509
Show file tree
Hide file tree
Showing 9 changed files with 1,539 additions and 1,423 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ We created a sample application to help in the integration and give an example.

## Setup

`$ npm install "git+ssh://[email protected]/emartech/react-native-emarsys-sdk.git#1.20.0" --save`
`$ npm install "git+ssh://[email protected]/emartech/react-native-emarsys-sdk.git#<version>" --save`

Check the latest version [here](https://github.com/emartech/react-native-emarsys-sdk/releases)

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion RNEmarsysWrapper.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Pod::Spec.new do |s|
s.source_files = "ios/*.{h,m}"
s.requires_arc = true
s.dependency "React", ">= 0.67.3"
s.dependency "EmarsysSDK", "~> 3.5.0"
s.dependency "EmarsysSDK", "~> 3.7.0"

end
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
buildToolsVersion "33.0.0"
compileSdkVersion 34
buildToolsVersion "34.0.0"
defaultConfig {
minSdkVersion 24
targetSdkVersion 31
versionCode 20
versionName "1.20"
targetSdkVersion 34
versionCode 21
versionName "1.21"
}
lintOptions {
abortOnError false
Expand Down
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.20.0",
"version": "1.21.0",
"description": "React Native wrapper for Emarsys SDK",
"main": "index.js",
"types": "typescript/index.d.ts",
Expand Down
4 changes: 0 additions & 4 deletions sample/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ def useIntlJsc = false
android {
compileSdkVersion rootProject.ext.compileSdkVersion

dexOptions {
javaMaxHeapSize "4g"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down
4 changes: 2 additions & 2 deletions sample/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

buildscript {
ext {
buildToolsVersion = "33.0.0"
buildToolsVersion = "34.0.0"
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 31
targetSdkVersion = 34
supportLibVersion = "28.0.0"
}
repositories {
Expand Down
12 changes: 2 additions & 10 deletions sample/ios/EmarsysApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -655,11 +655,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
};
Expand Down Expand Up @@ -712,11 +708,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
OTHER_LDFLAGS = "$(inherited)";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
2 changes: 1 addition & 1 deletion sample/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'
platform :ios, '14.0'

target 'EmarsysApp' do
config = use_native_modules!
Expand Down
Loading

0 comments on commit 253e509

Please sign in to comment.