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 Sep 30, 2024
1 parent 7ddbe5e commit d67895c
Show file tree
Hide file tree
Showing 7 changed files with 1,534 additions and 1,414 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
4 changes: 2 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 31
versionCode 20
versionName "1.20"
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
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 d67895c

Please sign in to comment.