omikit-plugin 3.2.81 → 3.2.84

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
@@ -275,6 +275,20 @@ class MainActivity : ReactActivity() {
275
275
  }
276
276
  ```
277
277
 
278
+ ```kotlin
279
+ import com.google.firebase.FirebaseApp;
280
+
281
+ // This is important because we push incoming calls via Firebase.
282
+ class MainApplication : Application() {
283
+ override fun onCreate() {
284
+ super.onCreate()
285
+ if (FirebaseApp.getApps(this).isEmpty()) {
286
+ FirebaseApp.initializeApp(this)
287
+ }
288
+ }
289
+ }
290
+
291
+ ```
278
292
 
279
293
  - ✨ Setup remote push notification: Only support Firebase for remote push notification.
280
294
 
@@ -298,7 +312,8 @@ class MainActivity : ReactActivity() {
298
312
  ```objc
299
313
  #import <UIKit/UIKit.h>
300
314
  #import <UserNotifications/UserNotifications.h>
301
- #import <OmiKit/OmiKit-umbrella.h>
315
+ // #import <OmiKit/OmiKit-umbrella.h>
316
+ #import <OmiKit/OmiKit.h>
302
317
  #import <OmiKit/Constants.h>
303
318
 
304
319
  @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate, UNUserNotificationCenterDelegate>
@@ -120,7 +120,8 @@ dependencies {
120
120
  // use for OMISDK
121
121
  implementation("androidx.work:work-runtime:2.8.1")
122
122
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
123
- api 'vn.vihat.omicall:omi-sdk:2.3.23'
123
+ // api 'vn.vihat.omicall:omi-sdk:2.3.23'
124
+ api "io.omicrm.vihat:omi-sdk:2.3.67"
124
125
 
125
126
  implementation "com.facebook.react:react-native:+" // From node_modules
126
127
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -3,5 +3,3 @@ OmikitPlugin_minSdkVersion=24
3
3
  OmikitPlugin_targetSdkVersion=33
4
4
  OmikitPlugin_compileSdkVersion=33
5
5
  OmikitPlugin_ndkversion=21.4.7075529
6
- OMI_USER=omicall
7
- OMI_TOKEN=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