@zelloptt/react-native-zello-sdk 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -15
- package/android/build.gradle +3 -3
- package/package.json +3 -8
package/README.md
CHANGED
|
@@ -43,26 +43,12 @@ repositories {
|
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Then, add the following dependencies to your app's `build.gradle`:
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
// Required Dependencies to use the Zello SDK
|
|
50
|
-
implementation("com.zello:sdk:{version}")
|
|
51
|
-
implementation("com.zello:zello:{version}")
|
|
52
|
-
implementation("com.zello:core:{version}") {
|
|
53
|
-
exclude module: "unspecified"
|
|
54
|
-
}
|
|
55
|
-
implementation(platform("com.google.firebase:firebase-bom:{version}"))
|
|
56
|
-
implementation("com.google.firebase:firebase-messaging")
|
|
57
|
-
implementation("com.google.dagger:hilt-android:{version}")
|
|
58
|
-
kapt("com.google.dagger:hilt-android-compiler:{version}")
|
|
59
|
-
```
|
|
60
|
-
|
|
61
46
|
#### Linking
|
|
62
47
|
|
|
63
48
|
Since the Zello Android SDK requires Hilt, and we must inject the `Zello` instance into the `ReactPackage`, the project does not work with autolinking.
|
|
64
49
|
|
|
65
50
|
As such, you will need to create a `ReactPackage` wrapper like this:
|
|
51
|
+
|
|
66
52
|
```kotlin
|
|
67
53
|
/// ZelloAndroidSdkPackage.kt
|
|
68
54
|
|
package/android/build.gradle
CHANGED
|
@@ -110,9 +110,9 @@ dependencies {
|
|
|
110
110
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
111
111
|
|
|
112
112
|
// Required Dependencies to use the Zello SDK
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
api("com.zello:sdk:0.3.1")
|
|
114
|
+
api("com.zello:zello:0.3.1")
|
|
115
|
+
api("com.zello:core:0.3.1") {
|
|
116
116
|
exclude module: "unspecified"
|
|
117
117
|
}
|
|
118
118
|
implementation(platform("com.google.firebase:firebase-bom:33.1.2"))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zelloptt/react-native-zello-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Zello SDK for React Native",
|
|
5
5
|
"source": "./src/index",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
],
|
|
56
56
|
"repository": {
|
|
57
57
|
"type": "git",
|
|
58
|
-
"url": "git+https://github.com/zelloptt/react-native-zello-sdk
|
|
58
|
+
"url": "git+https://github.com/zelloptt/react-native-zello-sdk.git"
|
|
59
59
|
},
|
|
60
60
|
"author": "Zello, Inc. <sdk@zello.com> (https://github.com/zelloptt/react-native-zello-sdk)",
|
|
61
61
|
"license": "MIT",
|
|
62
62
|
"bugs": {
|
|
63
63
|
"url": "https://github.com/zelloptt/react-native-zello-sdk/react-native-zello-sdk/issues"
|
|
64
64
|
},
|
|
65
|
-
"homepage": "https://github.com/zelloptt/react-native-zello-sdk
|
|
65
|
+
"homepage": "https://github.com/zelloptt/react-native-zello-sdk#readme",
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"registry": "https://registry.npmjs.org/"
|
|
68
68
|
},
|
|
@@ -122,11 +122,6 @@
|
|
|
122
122
|
},
|
|
123
123
|
"github": {
|
|
124
124
|
"release": true
|
|
125
|
-
},
|
|
126
|
-
"plugins": {
|
|
127
|
-
"@release-it/conventional-changelog": {
|
|
128
|
-
"preset": "angular"
|
|
129
|
-
}
|
|
130
125
|
}
|
|
131
126
|
},
|
|
132
127
|
"eslintConfig": {
|