Skip to content

Commit 46705ef

Browse files
Merge pull request #50 from emartech/MV-228-update-Emarsys-SDK-to-3.2.0
Mv 228 update emarsys sdk to 3.2.0
2 parents c71157c + ef39f3a commit 46705ef

File tree

7 files changed

+18
-246
lines changed

7 files changed

+18
-246
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ buck-out/
6363

6464
# Bundle artifact
6565
*.jsbundle
66+
sample/ios/Podfile.lock

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ android {
2222
defaultConfig {
2323
minSdkVersion 21
2424
targetSdkVersion 29
25-
versionCode 4
26-
versionName "1.4"
25+
versionCode 5
26+
versionName "1.5"
2727
}
2828
lintOptions {
2929
abortOnError false
@@ -47,5 +47,5 @@ repositories {
4747

4848
dependencies {
4949
implementation "com.facebook.react:react-native:+"
50-
implementation "com.emarsys:emarsys-sdk:3.0.0"
50+
implementation "com.emarsys:emarsys-sdk:3.2.0"
5151
}

ios/RNEmarsysWrapper.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Pod::Spec.new do |s|
1414
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
1515
s.author = { "author" => "author@domain.cn" }
1616
s.platform = :ios, "11.0"
17-
s.source = { :git => "https://git@github.com/emartech/react-native-emarsys-sdk.git", :tag => "1.4.0" }
17+
s.source = { :git => "https://git@github.com/emartech/react-native-emarsys-sdk.git", :tag => "#{s.version}" }
1818
s.source_files = "ios/*.{h,m}"
1919
s.requires_arc = true
2020
s.dependency "React", ">= 0.60.0"
21-
s.dependency "EmarsysSDK", "~> 3.0.0"
21+
s.dependency "EmarsysSDK", "~> 3.2.0"
2222

2323
end

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.4.0",
3+
"version": "1.5.0",
44
"description": "React Native wrapper for Emarsys SDK",
55
"main": "index.js",
66
"scripts": {

sample/android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ dependencies {
176176
implementation fileTree(dir: "libs", include: ["*.jar"])
177177
implementation "com.facebook.react:react-native:+" // From node_modules
178178

179-
implementation "com.google.android.gms:play-services-base:16.1.0"
179+
implementation "com.google.android.gms:play-services-base:18.0.1"
180180

181181
implementation "me.leolin:ShortcutBadger:1.1.21@aar"
182182

183-
implementation "androidx.appcompat:appcompat:1.1.0"
184-
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
183+
implementation "androidx.appcompat:appcompat:1.4.1"
184+
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
185185
implementation "androidx.multidex:multidex:2.0.1"
186186

187-
implementation "com.emarsys:emarsys-sdk:3.0.0"
187+
implementation "com.emarsys:emarsys-sdk:3.2.0"
188188
implementation 'com.emarsys:emarsys-firebase:+'
189189

190190
// JSC from node_modules

sample/android/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
buildscript {
44
ext {
55
buildToolsVersion = "28.0.3"
6-
minSdkVersion = 21
7-
compileSdkVersion = 28
8-
targetSdkVersion = 28
6+
minSdkVersion = 24
7+
compileSdkVersion = 31
8+
targetSdkVersion = 31
99
supportLibVersion = "28.0.0"
1010
}
1111
repositories {
1212
google()
1313
jcenter()
14+
mavenCentral()
1415
}
1516
dependencies {
16-
classpath("com.android.tools.build:gradle:3.5.3")
17-
classpath("com.google.gms:google-services:4.3.2")
17+
classpath("com.android.tools.build:gradle:3.5.4")
18+
classpath("com.google.gms:google-services:4.3.10")
1819

1920
// NOTE: Do not place your application dependencies here; they belong
2021
// in the individual module build.gradle files
@@ -35,5 +36,6 @@ allprojects {
3536

3637
google()
3738
jcenter()
39+
mavenCentral()
3840
}
3941
}

sample/ios/Podfile.lock

Lines changed: 0 additions & 231 deletions
This file was deleted.

0 commit comments

Comments
 (0)