File tree Expand file tree Collapse file tree 11 files changed +1836
-2851
lines changed
src/main/java/com/emarsysapp Expand file tree Collapse file tree 11 files changed +1836
-2851
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ We created a sample application to help in the integration and give an example.
12
12
13
13
## Setup
14
14
15
- ` $ npm install "git+ssh://git@github.com/emartech/react-native-emarsys-sdk.git#1.15 .0" --save `
15
+ ` $ npm install "git+ssh://git@github.com/emartech/react-native-emarsys-sdk.git#1.16 .0" --save `
16
16
17
17
## Requirements
18
18
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ Pod::Spec.new do |s|
18
18
s . source_files = "ios/*.{h,m}"
19
19
s . requires_arc = true
20
20
s . dependency "React" , ">= 0.67.3"
21
- s . dependency "EmarsysSDK" , "~> 3.3 .0"
21
+ s . dependency "EmarsysSDK" , "~> 3.4 .0"
22
22
23
23
end
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ buildscript {
17
17
apply plugin : ' com.android.library'
18
18
19
19
android {
20
- compileSdkVersion 32
21
- buildToolsVersion " 28 .0.3 "
20
+ compileSdkVersion 33
21
+ buildToolsVersion " 33 .0.0 "
22
22
defaultConfig {
23
23
minSdkVersion 24
24
24
targetSdkVersion 31
25
- versionCode 15
26
- versionName " 1.15 "
25
+ versionCode 16
26
+ versionName " 1.16 "
27
27
}
28
28
lintOptions {
29
29
abortOnError false
@@ -46,5 +46,5 @@ repositories {
46
46
47
47
dependencies {
48
48
implementation " com.facebook.react:react-native:+"
49
- implementation " com.emarsys:emarsys-sdk:3.5 .+"
49
+ implementation " com.emarsys:emarsys-sdk:3.6 .+"
50
50
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-emarsys-wrapper" ,
3
- "version" : " 1.15 .0" ,
3
+ "version" : " 1.16 .0" ,
4
4
"description" : " React Native wrapper for Emarsys SDK" ,
5
5
"main" : " index.js" ,
6
+ "type" : " module" ,
6
7
"scripts" : {
7
8
"test" : " echo \" Error: no test specified\" && exit 1"
8
9
},
9
10
"keywords" : [
10
11
" react-native" ,
11
12
" Emarsys"
12
13
],
13
- "author" : " Aliaksandr Andreyeu " ,
14
+ "author" : " emarsys " ,
14
15
"license" : " MIT" ,
15
16
"peerDependencies" : {
16
17
"react" : " >=17.0.2" ,
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ dependencies {
109
109
implementation " androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
110
110
implementation " androidx.multidex:multidex:2.0.1"
111
111
112
- implementation " com.emarsys:emarsys-sdk:3.5 .+"
113
- implementation " com.emarsys:emarsys-firebase:3.5 .+"
112
+ implementation " com.emarsys:emarsys-sdk:3.6 .+"
113
+ implementation " com.emarsys:emarsys-firebase:3.6 .+"
114
114
115
115
// JSC from node_modules
116
116
if (useIntlJsc) {
Original file line number Diff line number Diff line change 13
13
import com .emarsys .rnwrapper .RNEmarsysEventHandler ;
14
14
import com .facebook .react .PackageList ;
15
15
import com .facebook .react .ReactApplication ;
16
- import com .swmansion .reanimated .ReanimatedPackage ;
17
- import com .emarsys .rnwrapper .RNEmarsysWrapperPackage ;
18
16
import com .facebook .react .ReactNativeHost ;
19
17
import com .facebook .react .ReactPackage ;
20
18
import com .facebook .soloader .SoLoader ;
Original file line number Diff line number Diff line change @@ -11,11 +11,15 @@ buildscript {
11
11
repositories {
12
12
google()
13
13
mavenCentral()
14
+ maven {
15
+ url = uri(" https://storage.googleapis.com/r8-releases/raw" )
16
+ }
14
17
}
15
18
dependencies {
16
19
classpath(' com.android.tools.build:gradle:7.3.1' )
17
20
classpath(" com.google.gms:google-services:4.3.15" )
18
21
classpath(" com.facebook.react:react-native-gradle-plugin" )
22
+ classpath(" com.android.tools:r8:8.2.38" )
19
23
20
24
// NOTE: Do not place your application dependencies here; they belong
21
25
// in the individual module build.gradle files
Original file line number Diff line number Diff line change 643
643
GCC_PREPROCESSOR_DEFINITIONS = (
644
644
"DEBUG=1",
645
645
"$(inherited)",
646
+ _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
646
647
);
647
648
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
648
649
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
654
655
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
655
656
MTL_ENABLE_DEBUG_INFO = YES;
656
657
ONLY_ACTIVE_ARCH = YES;
658
+ OTHER_LDFLAGS = (
659
+ "$(inherited)",
660
+ "-Wl",
661
+ "-ld_classic",
662
+ );
657
663
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
658
664
SDKROOT = iphoneos;
659
665
};
694
700
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
695
701
GCC_C_LANGUAGE_STANDARD = gnu99;
696
702
GCC_NO_COMMON_BLOCKS = YES;
703
+ GCC_PREPROCESSOR_DEFINITIONS = (
704
+ "$(inherited)",
705
+ _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
706
+ );
697
707
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
698
708
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
699
709
GCC_WARN_UNDECLARED_SELECTOR = YES;
702
712
GCC_WARN_UNUSED_VARIABLE = YES;
703
713
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
704
714
MTL_ENABLE_DEBUG_INFO = NO;
715
+ OTHER_LDFLAGS = (
716
+ "$(inherited)",
717
+ "-Wl",
718
+ "-ld_classic",
719
+ );
705
720
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
706
721
SDKROOT = iphoneos;
707
722
SWIFT_COMPILATION_MODE = wholemodule;
Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ target 'EmarsysApp' do
37
37
post_install do |installer |
38
38
react_native_post_install ( installer )
39
39
__apply_Xcode_12_5_M1_post_install_workaround ( installer )
40
+ installer . pods_project . targets . each do |target |
41
+ target . build_configurations . each do |config |
42
+ config . build_settings [ 'GCC_PREPROCESSOR_DEFINITIONS' ] ||= [ '$(inherited)' , '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' ]
43
+ end
44
+ end
40
45
end
41
46
end
42
47
You can’t perform that action at this time.
0 commit comments