omikit-plugin 3.2.36 → 3.2.38

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
@@ -36,13 +36,13 @@ yarn add omikit-plugin --latest
36
36
  ```
37
37
  jcenter()
38
38
  maven {
39
- url "https://gitlab.com/api/v4/projects/47675059/packages/maven"
40
- credentials(HttpHeaderCredentials) {
41
- name = "Private-Token"
42
- value = "glpat-AzyyrvKz9_pjsgGW4xfp"
39
+ url "https://maven.pkg.github.com/omicall/OMICall-SDK"
40
+ credentials {
41
+ username = "omicall"
42
+ password = "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"
43
43
  }
44
44
  authentication {
45
- header(HttpHeaderAuthentication)
45
+ basic(BasicAuthentication)
46
46
  }
47
47
  }
48
48
  ```
@@ -74,13 +74,13 @@ allprojects {
74
74
  google()
75
75
  maven { url 'https://www.jitpack.io' }
76
76
  maven {
77
- url "https://gitlab.com/api/v4/projects/47675059/packages/maven"
78
- credentials(HttpHeaderCredentials) {
79
- name = "Private-Token"
80
- value = "glpat-AzyyrvKz9_pjsgGW4xfp"
77
+ url "https://maven.pkg.github.com/omicall/OMICall-SDK"
78
+ credentials {
79
+ username = "omicall"
80
+ password = "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"
81
81
  }
82
82
  authentication {
83
- header(HttpHeaderAuthentication)
83
+ basic(BasicAuthentication)
84
84
  }
85
85
  }
86
86
  }
@@ -101,33 +101,31 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
101
101
  - Update AndroidManifest.xml:
102
102
 
103
103
  ```
104
- <manifest
105
- ......
104
+ <manifest
105
+ ......
106
106
  xmlns:tools="http://schemas.android.com/tools">
107
- ..... // your config
107
+ ..... // your config
108
108
  <uses-feature android:name="android.hardware.telephony" android:required="false" />
109
109
  <uses-permission android:name="android.permission.INTERNET" />
110
110
  <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
111
111
  <uses-permission android:name="android.permission.WAKE_LOCK" />
112
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE"/>
113
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA"/>
114
- <uses-permission android:name="android.permission.CALL_PHONE"/>
115
- ..... // your config
112
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
113
+ ..... // your config
116
114
 
117
115
  <application
118
116
  android:name=".MainApplication"
119
- ...... // your config
117
+ ...... // your config
120
118
  android:alwaysRetainTaskState="true"
121
119
  android:largeHeap="true"
122
120
  android:exported="true"
123
121
  android:supportsRtl="true"
124
122
  android:allowBackup="false"
125
123
  android:enableOnBackInvokedCallback="true"
126
- ..... // your config
124
+ ..... // your config
127
125
  >
128
126
  <activity
129
127
  android:name=".MainActivity"
130
- ..... // your config
128
+ ..... // your config
131
129
  android:windowSoftInputMode="adjustResize"
132
130
  android:showOnLockScreen="true"
133
131
  android:launchMode="singleTask"
@@ -137,9 +135,9 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
137
135
  android:showWhenLocked="true"
138
136
  android:turnScreenOn="true"
139
137
  android:exported="true"
140
- ..... // your config
138
+ ..... // your config
141
139
  >
142
- ..... // your config
140
+ ..... // your config
143
141
  <intent-filter>
144
142
  <action android:name="android.intent.action.MAIN" />
145
143
  <category android:name="android.intent.category.LAUNCHER" />
@@ -151,9 +149,9 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
151
149
  android:host="incoming_call"
152
150
  android:scheme="omisdk" />
153
151
  </intent-filter>
154
- ..... // your config
152
+ ..... // your config
155
153
  </activity>
156
- ..... // your config
154
+ ..... // your config
157
155
  <receiver
158
156
  android:name="vn.vihat.omicall.omisdk.receiver.FirebaseMessageReceiver"
159
157
  android:exported="true"
@@ -169,15 +167,16 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
169
167
  android:enabled="true"
170
168
  android:exported="false">
171
169
  </service>
172
- ..... // your config
170
+ ..... // your config
173
171
  </application>
174
172
  </manifest>
175
173
  ```
176
174
 
177
175
  ##### In file MainActivity:
176
+
178
177
  ```
179
178
  public class MainActivity extends ReactActivity {
180
- ..... // your config
179
+ ..... // your config
181
180
 
182
181
 
183
182
  @Override
@@ -202,49 +201,20 @@ public class MainActivity extends ReactActivity {
202
201
  if (intent != null) {
203
202
  OmikitPluginModule.Companion.onGetIntentFromNotification(reactApplicationContext, intent, this);
204
203
  }
205
- ..... // your config
204
+ ..... // your config
206
205
  }
207
206
  }
208
207
  ```
209
208
 
210
- You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blob/main/example/android/app/src/main/AndroidManifest.xml">AndroidManifest</a> to know more informations.
211
-
212
- - We registered permissions into my plugin:
213
-
214
- ```
215
- <uses-feature
216
- android:name="android.hardware.camera"
217
- android:required="false" />
218
- <uses-feature
219
- android:name="android.hardware.telephony"
220
- android:required="false" />
221
-
222
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
223
-
224
- <uses-permission android:name="android.permission.INTERNET" />
225
- <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
226
- <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
227
- <uses-permission android:name="android.permission.WAKE_LOCK" />
228
- <uses-permission android:name="android.permission.USE_SIP" />
229
- <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
230
- <uses-permission android:name="android.permission.CALL_PHONE" />
231
- <uses-permission android:name="android.permission.CAMERA" />
232
- <uses-permission android:name="android.permission.RECORD_AUDIO" />
233
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
234
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
235
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" />
236
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
237
- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
238
- <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
239
- ```
240
-
241
209
  - Setup remote push notification: Only support Firebase for remote push notification.
242
210
 
243
211
  - Add `google-service.json` in `android/app` (For more information, you can refer <a href="https://rnfirebase.io/app/usage">Core/App</a>)
244
212
  - Add Firebase Messaging to receive `fcm_token` (You can refer <a href="https://rnfirebase.io/messaging/usage">Cloud Messaging</a> to setup notification for React native)
245
213
 
246
214
  - For more setting information, please refer <a href="https://api.omicall.com/web-sdk/mobile-sdk/android-sdk/cau-hinh-push-notification">Config Push for Android</a>
247
- ## Config for IOS
215
+
216
+ ## Config for IOS
217
+
248
218
  #### iOS(Object-C):
249
219
 
250
220
  - Assets: Add `call_image` into assets folder to update callkit image. We only support png style.
@@ -266,6 +236,7 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
266
236
 
267
237
  @end
268
238
  ```
239
+
269
240
  - Add variables in **Appdelegate.h** for **New Architecture**:
270
241
 
271
242
  ```
@@ -293,7 +264,7 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
293
264
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
294
265
  {
295
266
 
296
- // ----- Start OmiKit Config ------
267
+ // ----- Start OmiKit Config ------
297
268
  [OmiClient setEnviroment:KEY_OMI_APP_ENVIROMENT_SANDBOX userNameKey:@"full_name" maxCall:2 callKitImage:@"call_image" typePushVoip:TYPE_PUSH_CALLKIT_DEFAULT];
298
269
  _provider = [[CallKitProviderDelegate alloc] initWithCallManager: [OMISIPLib sharedInstance].callManager];
299
270
  _voipRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()];
@@ -301,10 +272,10 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
301
272
  if (@available(iOS 10.0, *)) {
302
273
  [UNUserNotificationCenter currentNotificationCenter].delegate = (id<UNUserNotificationCenterDelegate>) self;
303
274
  }
304
- // ----- End OmiKit Config ------
275
+ // ----- End OmiKit Config ------
305
276
 
306
277
  return YES;
307
-
278
+
308
279
  }
309
280
 
310
281
 
@@ -366,8 +337,7 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
366
337
 
367
338
  ```
368
339
 
369
-
370
- *** Only use under lines when added `Cloud Messaging` plugin in your project ***
340
+ **_ Only use under lines when added `Cloud Messaging` plugin in your project _**
371
341
 
372
342
  - Setup push notification: We only support Firebase for push notification.
373
343
 
@@ -375,17 +345,20 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
375
345
  - Add Firebase Messaging to receive `fcm_token` (You can refer <a href="https://pub.dev/packages/firebase_messaging">Cloud Messaging</a> to setup notification for React Native)
376
346
 
377
347
  - For more setting information, please refer <a href="https://api.omicall.com/web-sdk/mobile-sdk/ios-sdk/cau-hinh-push-notification">Config Push for iOS</a>
378
-
379
- *** Important release note ***
348
+
349
+ **_ Important release note _**
350
+
380
351
  ```
381
352
  We support 2 environments. So you need set correct key in Appdelegate.
382
353
  - KEY_OMI_APP_ENVIROMENT_SANDBOX support on debug mode
383
354
  - KEY_OMI_APP_ENVIROMENT_PRODUCTION support on release mode
384
355
  - Visit on web admin to select correct enviroment.
385
356
  ```
386
- *Note: At Tab Build Setting off Target Project, you need set: ***Enable Modules (C and Objective C)*** : YES*
387
-
357
+
358
+ \*Note: At Tab Build Setting off Target Project, you need set: **_Enable Modules (C and Objective C)_** : YES\*
359
+
388
360
  #### iOS(Swift):
361
+
389
362
  - Assets: Add `call_image` into assets folder to update callkit image. We only support png style.
390
363
 
391
364
  - Add variables in Appdelegate.swift:
@@ -409,7 +382,7 @@ voipRegistry = PKPushRegistry.init(queue: .main)
409
382
  pushkitManager = PushKitManager.init(voipRegistry: voipRegistry)
410
383
  ```
411
384
 
412
- - Add these lines into `Info.plist`:
385
+ - Add these lines into `Info.plist`:
413
386
 
414
387
  ```
415
388
  <key>NSCameraUsageDescription</key>
@@ -434,7 +407,7 @@ extension Data {
434
407
  }
435
408
  ```
436
409
 
437
- *** Only use under lines when added `Cloud Messaging` plugin in your project ***
410
+ **_ Only use under lines when added `Cloud Messaging` plugin in your project _**
438
411
 
439
412
  - Setup push notification: We only support Firebase for push notification.
440
413
 
@@ -442,24 +415,25 @@ extension Data {
442
415
  - Add Firebase Messaging to receive `fcm_token` (You can refer <a href="https://pub.dev/packages/firebase_messaging">Cloud Messaging</a> to setup notification for React Native)
443
416
 
444
417
  - For more setting information, please refer <a href="https://api.omicall.com/web-sdk/mobile-sdk/ios-sdk/cau-hinh-push-notification">Config Push for iOS</a>
445
- *** Important release note ***
418
+ **_ Important release note _**
419
+
446
420
  ```
447
421
  We support 2 environments. So you need set correct key in Appdelegate.
448
422
  - KEY_OMI_APP_ENVIROMENT_SANDBOX support on debug mode
449
423
  - KEY_OMI_APP_ENVIROMENT_PRODUCTION support on release mode
450
- - Visit on web admin to select correct enviroment.
424
+ - Visit on web admin to select correct enviroment.
451
425
  ```
452
426
 
453
-
454
427
  ## Implement
455
428
 
456
429
  ### Request permission
457
430
 
458
431
  We need you request permission about call before make call:
459
- - You can use <a href="https://github.com/zoontek/react-native-permissions">react-native-permissions</a> to do this
432
+
433
+ - You can use <a href="https://github.com/zoontek/react-native-permissions">react-native-permissions</a> to do this
460
434
 
461
435
  ```
462
- -Android:
436
+ -Android:
463
437
  + PERMISSIONS.ANDROID.RECORD_AUDIO
464
438
  + PERMISSIONS.ANDROID.CALL_PHONE
465
439
  + PERMISSIONS.ANDROID.CAMERA; (if you want to make Video calls)
@@ -488,16 +462,18 @@ We need you request permission about call before make call:
488
462
 
489
463
  startServices();
490
464
  ```
465
+
491
466
  - OmiKit need FCM for Android and APNS to push notification on user devices. We use more packages: <a href="https://rnfirebase.io/messaging/usage">Cloud Messaging</a>
492
467
 
493
468
  - 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. This function is used when making calls from customers to switchboard numbers (not making internal calls).
494
469
  Please contact for my sale:
495
- In This step, we need partner provide me fcmToken of firebase Message.
470
+ In This step, we need partner provide me fcmToken of firebase Message.
471
+
496
472
  ```
497
473
  import { initCallWithApiKey } from 'omikit-plugin';
498
474
  import messaging from '@react-native-firebase/messaging';
499
-
500
- let token: String
475
+
476
+ let token: String
501
477
  if(Platform.OS == "ios"){
502
478
  token = await messaging.getAPNSToken()
503
479
  } else {
@@ -517,14 +493,14 @@ We need you request permission about call before make call:
517
493
  ```
518
494
 
519
495
  - Create OmiKit: OmiKit need userName, password, realm, fcmToken to init environment(All information in innit is required). ViHAT Group will provide information for you.
520
- This function is used when you want to call any telecommunication number, calling back and forth between internal groups.
496
+ This function is used when you want to call any telecommunication number, calling back and forth between internal groups.
521
497
  Please contact for my sale:
522
498
 
523
499
  ```
524
500
  import { initCallWithUserPassword } from 'omikit-plugin';
525
501
  import messaging from '@react-native-firebase/messaging';
526
-
527
- let token: String
502
+
503
+ let token: String
528
504
  if(Platform.OS == "ios"){
529
505
  token = await messaging.getAPNSToken()
530
506
  } else {
@@ -560,13 +536,12 @@ We need you request permission about call before make call:
560
536
  userNameKey: 'uuid', //we have 3 values: uuid, full_name, extension.
561
537
  channelId: 'com.channel.sample', //your notification channel id
562
538
  audioNotificationDescription: '' //audio description
563
- videoNotificationDescription: '' //video descriptipn
539
+ videoNotificationDescription: '' //video descriptipn,
540
+ representName: '' // Pass down the representative name if you want all incoming calls on the customer app to display only 1 unique name of your business
564
541
  });
565
542
  //incomingAcceptButtonImage, incomingDeclineButtonImage, backImage, userImage: Add these into `android/app/src/main/res/drawble`
566
543
  ```
567
544
 
568
-
569
-
570
545
  - Get call when user open application at first time:
571
546
 
572
547
  ```
@@ -590,7 +565,9 @@ We need you request permission about call before make call:
590
565
  isVideo: false //allow video call: true/false
591
566
  });
592
567
  ```
593
- - The result will be in the form of object:
568
+
569
+ - The result will be in the form of object:
570
+
594
571
  ```
595
572
  result = {
596
573
  "_id": String // This is call_id. it just have id for iOS,
@@ -722,6 +699,7 @@ We need you request permission about call before make call:
722
699
 
723
700
  logout();
724
701
  ```
702
+
725
703
  - Permission: Check system alert window permission (only Android).
726
704
 
727
705
  ```
@@ -733,6 +711,7 @@ We need you request permission about call before make call:
733
711
  //false => denied
734
712
  }
735
713
  ```
714
+
736
715
  - Setting: Open to enable system alert window (only Android).
737
716
 
738
717
  ```
@@ -824,43 +803,42 @@ useEffect(() => {
824
803
  }, []);
825
804
  ```
826
805
 
827
- - Important event `onCallStateChanged`: We provide it to listen call state change.
828
- // OmiAction have 2 variables: actionName and data
829
-
830
- - Action Name value:
831
- - `onCallStateChanged`: Call state changed.
832
- - `onSwitchboardAnswer`: Switchboard sip is listening.
833
- - List status call:
834
- + unknown(0),
835
- + calling(1),
836
- + incoming(2),
837
- + early(3),
838
- + connecting(4),
839
- + confirmed(5),
840
- + disconnected(6);
841
- + onCallStateChanged is call state tracking event. We will return status of state. Please refer `OmiCallState`.
842
- `onCallStateChanged value:`
843
- + isVideo: value boolean (true is call Video)
844
- + status: number (value matching with List status call )
845
- + callerNumber: phone number
846
- + incoming: boolean - status call incoming or outgoing
847
- + _id: option (id of every call)
848
- + code_end_call: This is code when end call.
849
-
850
- + `Incoming call` state lifecycle: incoming -> connecting -> confirmed -> disconnected
851
- + `Outgoing call` state lifecycle: calling -> early -> connecting -> confirmed -> disconnected
852
-
853
- + onSwitchboardAnswer have callback when employee answered script call.
854
-
855
- - List of notable call codes `code_end_call`:
856
- + `600, 503, 480` : These are the codes of the network operator or the user who did not answer the call
857
- + `408` : call request timeout (Each call usually has a waiting time of 30 seconds. If the 30 seconds expire, it will time out)
858
- + `403` : Your service plan only allows calls to dialed numbers. Please upgrade your service pack
859
- + `404` : The current number is not allowed to make calls to the carrier
860
- + `603` : The call was rejected. Please check your account limit or call barring configuration!
861
- + `850` : Simultaneous call limit exceeded, please try again later
862
- + `486` : The listener refuses the call and does not answer
806
+ - Important event `onCallStateChanged`: We provide it to listen call state change.
807
+ // OmiAction have 2 variables: actionName and data
808
+
809
+ - Action Name value:
810
+ - `onCallStateChanged`: Call state changed.
811
+ - `onSwitchboardAnswer`: Switchboard sip is listening.
812
+ - List status call:
813
+ - unknown(0),
814
+ - calling(1),
815
+ - incoming(2),
816
+ - early(3),
817
+ - connecting(4),
818
+ - confirmed(5),
819
+ - disconnected(6);
820
+
821
+ * onCallStateChanged is call state tracking event. We will return status of state. Please refer `OmiCallState`.
822
+ `onCallStateChanged value:` + isVideo: value boolean (true is call Video) + status: number (value matching with List status call ) + callerNumber: phone number + incoming: boolean - status call incoming or outgoing + \_id: option (id of every call) + code_end_call: This is code when end call.
863
823
 
824
+ * `Incoming call` state lifecycle: incoming -> connecting -> confirmed -> disconnected
825
+ * `Outgoing call` state lifecycle: calling -> early -> connecting -> confirmed -> disconnected
826
+
827
+ * onSwitchboardAnswer have callback when employee answered script call.
828
+
829
+ - Table describing code_end_call status
830
+
831
+ | Code | Description |
832
+ | --------------- | --------------------------------------------------------------------------------------------------------------------- |
833
+ | `600, 503, 480` | These are the codes of the network operator or the user who did not answer the call |
834
+ | `408` | Call request timeout (Each call usually has a waiting time of 30 seconds. If the 30 seconds expire, it will time out) |
835
+ | `403` | Your service plan only allows calls to dialed numbers. Please upgrade your service pack |
836
+ | `404` | The current number is not allowed to make calls to the carrier |
837
+ | `603` | The call was rejected. Please check your account limit or call barring configuration! |
838
+ | `850` | Simultaneous call limit exceeded, please try again later |
839
+ | `486` | The listener refuses the call and does not answer |
840
+ | `601` | Call ended by the customer |
841
+ | `602` | Call ended by the other employee |
864
842
 
865
843
  - Action Name value:
866
844
  - `OmiCallEvent.onMuted`: Audio changed.
@@ -870,15 +848,15 @@ useEffect(() => {
870
848
  - `OmiCallEvent.onCallQuality`: The calling quality.
871
849
  - Data value: We return `callerNumber`, `sip`, `isVideo: true/false` information
872
850
 
873
-
874
851
  - Forward calls to internal staff:
875
- + You can use function `transferCall` for transfer to staff you want.
876
- example:
877
- transferCall({
878
- phoneNumber: 102
879
- })
852
+ - You can use function `transferCall` for transfer to staff you want.
853
+ example:
854
+ transferCall({
855
+ phoneNumber: 102
856
+ })
880
857
 
881
858
  # Issues
882
859
 
883
- ## iOS
884
- - Must use "Rosetta Destination" to run debug example app on macOS Apple chip
860
+ ## iOS
861
+
862
+ - Must use "Rosetta Destination" to run debug example app on macOS Apple chip
@@ -5,13 +5,13 @@ buildscript {
5
5
  repositories {
6
6
  google()
7
7
  mavenCentral()
8
- maven {
9
- url("https://vihatgroup.jfrog.io/artifactory/omi-voice/")
10
- credentials {
11
- username = "downloader"
12
- password = "Omi@2022"
13
- }
14
- }
8
+ // maven {
9
+ // url("https://vihatgroup.jfrog.io/artifactory/omi-voice/")
10
+ // credentials {
11
+ // username = "downloader"
12
+ // password = "Omi@2022"
13
+ // }
14
+ // }
15
15
  }
16
16
 
17
17
  dependencies {
@@ -83,15 +83,15 @@ allprojects {
83
83
  mavenCentral()
84
84
  jcenter() // Warning: this repository is going to shut down soon
85
85
  maven {
86
- url "https://gitlab.com/api/v4/projects/47675059/packages/maven"
87
- credentials(HttpHeaderCredentials) {
88
- name = "Private-Token"
89
- value = "glpat-AzyyrvKz9_pjsgGW4xfp"
86
+ url "https://maven.pkg.github.com/omicall/OMICall-SDK"
87
+ credentials {
88
+ username = "omicall"
89
+ password = "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"
90
+ }
91
+ authentication {
92
+ basic(BasicAuthentication)
93
+ }
90
94
  }
91
- authentication {
92
- header(HttpHeaderAuthentication)
93
- }
94
- }
95
95
  }
96
96
  }
97
97
 
@@ -103,7 +103,7 @@ dependencies {
103
103
  // use for OMISDK
104
104
  implementation("androidx.work:work-runtime:2.8.1")
105
105
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
106
- api 'vn.vihat.omicall:omi-sdk:2.2.82'
106
+ api 'vn.vihat.omicall:omi-sdk:2.2.85'
107
107
 
108
108
  implementation "com.facebook.react:react-native:+" // From node_modules
109
109
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -14,13 +14,13 @@ dependencyResolutionManagement {
14
14
  url "https://jitpack.io"
15
15
  }
16
16
  maven {
17
- url "https://gitlab.com/api/v4/projects/47675059/packages/maven"
18
- credentials(HttpHeaderCredentials) {
19
- name = "Private-Token"
20
- value = "glpat-AzyyrvKz9_pjsgGW4xfp"
17
+ url "https://maven.pkg.github.com/omicall/OMICall-SDK"
18
+ credentials {
19
+ username = "omicall"
20
+ password = "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"
21
21
  }
22
22
  authentication {
23
- header(HttpHeaderAuthentication)
23
+ basic(BasicAuthentication)
24
24
  }
25
25
  }
26
26
  }
@@ -32,5 +32,5 @@ Pod::Spec.new do |s|
32
32
  s.dependency "RCTTypeSafety"
33
33
  s.dependency "ReactCommon/turbomodule/core"
34
34
  end
35
- s.dependency "OmiKit", '1.7.23'
35
+ s.dependency "OmiKit", '1.7.25'
36
36
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.36",
3
+ "version": "3.2.38",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",