omikit-plugin 3.2.15 → 3.2.16
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
|
|
|
@@ -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
|
}
|