Skip to content

Commit 3d38f15

Browse files
committed
Change build settings to support Connect-SDK-Android-Lite
1 parent 2a5459c commit 3d38f15

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ iOS:
3131

3232
npx pod-install
3333

34-
Android:
35-
36-
cd android
37-
git clone https://github.com/ConnectSDK/Connect-SDK-Android-Core
38-
3934
Thats it! Dependencies will be downloaded and set up automatically.
4035

4136
**Dependencies will not be downloaded automatically for versions older than 1.6.0. You'll need to check the README from that branch and follow any manual set up steps.**

android/build.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
}
88

99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.5.3'
10+
classpath 'com.android.tools.build:gradle:7.0.2'
1111
}
1212
}
1313
}
@@ -19,9 +19,9 @@ def safeExtGet(prop, fallback) {
1919
}
2020

2121
android {
22-
compileSdkVersion safeExtGet('ConnectsdkReactNative_compileSdkVersion', 29)
22+
compileSdkVersion safeExtGet('ConnectsdkReactNative_compileSdkVersion', 31)
2323
defaultConfig {
24-
minSdkVersion safeExtGet('ConnectsdkReactNative_minSdkVersion', 16)
24+
minSdkVersion safeExtGet('ConnectsdkReactNative_minSdkVersion', 24)
2525
targetSdkVersion safeExtGet('ConnectsdkReactNative_targetSdkVersion', 29)
2626
versionCode 1
2727
versionName "1.0"
@@ -51,11 +51,12 @@ repositories {
5151
google()
5252
mavenCentral()
5353
jcenter()
54+
maven { url "https://jitpack.io" }
5455
}
5556

5657
dependencies {
5758
//noinspection GradleDynamicVersion
5859
implementation "com.facebook.react:react-native:+" // From node_modules
59-
implementation project(':Connect-SDK-Android-Core')
60+
implementation 'com.github.ConnectSDK:Connect-SDK-Android-Lite:-SNAPSHOT'
6061
implementation 'com.google.code.gson:gson:2.8.6'
6162
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connectsdk-react-native",
3-
"version": "1.0.32",
3+
"version": "1.0.33",
44
"description": "React Native ConnectSDK Component",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)