omikit-plugin 3.2.15 → 3.2.17
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
CHANGED
|
@@ -344,7 +344,7 @@ We support 2 environments. So you need set correct key in Appdelegate.
|
|
|
344
344
|
|
|
345
345
|
- Create OmiKit With ApiKey: OmiKit need apikey, username, user id to init environment(All information in innit is required). ViHAT Group will provide api key for you. Please contact for my sale:
|
|
346
346
|
In This step, we need partner provide me fcmToken of firebase Message.
|
|
347
|
-
|
|
347
|
+
```
|
|
348
348
|
import { initCallWithApiKey } from 'omikit-plugin';
|
|
349
349
|
import messaging from '@react-native-firebase/messaging';
|
|
350
350
|
|
package/android/build.gradle
CHANGED
|
@@ -104,7 +104,7 @@ dependencies {
|
|
|
104
104
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
105
105
|
// noinspection GradleDynamicVersion
|
|
106
106
|
// implementation "com.facebook.react:react-native"
|
|
107
|
-
api 'vn.vihat.omicall:omi-sdk:2.0.
|
|
107
|
+
api 'vn.vihat.omicall:omi-sdk:2.0.69'
|
|
108
108
|
|
|
109
109
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
110
110
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
@@ -219,7 +219,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
219
219
|
reactApplicationContext!!.addActivityEventListener(this)
|
|
220
220
|
Handler(Looper.getMainLooper()).post {
|
|
221
221
|
OmiClient.getInstance(reactApplicationContext!!).addCallStateListener(this)
|
|
222
|
-
OmiClient.getInstance(reactApplicationContext!!).setDebug(
|
|
222
|
+
OmiClient.getInstance(reactApplicationContext!!).setDebug(true)
|
|
223
223
|
OmiClient.isAppReady = true;
|
|
224
224
|
}
|
|
225
225
|
}
|