omikit-plugin 3.2.36 → 3.2.37
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 +19 -10
- package/android/build.gradle +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -229,6 +229,8 @@ You can refer <a href="https://github.com/VIHATTeam/OMICALL-React-Native-SDK/blo
|
|
|
229
229
|
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
|
|
230
230
|
<uses-permission android:name="android.permission.CALL_PHONE" />
|
|
231
231
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
232
|
+
<uses-permission android:name="android.permission.SYSTEM_CAMERA" /> // add if use targetSDK 34
|
|
233
|
+
|
|
232
234
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
233
235
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
|
|
234
236
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
|
|
@@ -560,7 +562,8 @@ We need you request permission about call before make call:
|
|
|
560
562
|
userNameKey: 'uuid', //we have 3 values: uuid, full_name, extension.
|
|
561
563
|
channelId: 'com.channel.sample', //your notification channel id
|
|
562
564
|
audioNotificationDescription: '' //audio description
|
|
563
|
-
videoNotificationDescription: '' //video descriptipn
|
|
565
|
+
videoNotificationDescription: '' //video descriptipn,
|
|
566
|
+
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
567
|
});
|
|
565
568
|
//incomingAcceptButtonImage, incomingDeclineButtonImage, backImage, userImage: Add these into `android/app/src/main/res/drawble`
|
|
566
569
|
```
|
|
@@ -852,14 +855,20 @@ useEffect(() => {
|
|
|
852
855
|
|
|
853
856
|
+ onSwitchboardAnswer have callback when employee answered script call.
|
|
854
857
|
|
|
855
|
-
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
858
|
+
- Table describing code_end_call status
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
| Code | Description |
|
|
862
|
+
|-------|-------------|
|
|
863
|
+
| `600, 503, 480` | These are the codes of the network operator or the user who did not answer the call |
|
|
864
|
+
| `408` | Call request timeout (Each call usually has a waiting time of 30 seconds. If the 30 seconds expire, it will time out) |
|
|
865
|
+
| `403` | Your service plan only allows calls to dialed numbers. Please upgrade your service pack |
|
|
866
|
+
| `404` | The current number is not allowed to make calls to the carrier |
|
|
867
|
+
| `603` | The call was rejected. Please check your account limit or call barring configuration! |
|
|
868
|
+
| `850` | Simultaneous call limit exceeded, please try again later |
|
|
869
|
+
| `486` | The listener refuses the call and does not answer |
|
|
870
|
+
| `601` | Call ended by the customer |
|
|
871
|
+
| `602` | Call ended by the other employee |
|
|
863
872
|
|
|
864
873
|
|
|
865
874
|
- Action Name value:
|
|
@@ -881,4 +890,4 @@ useEffect(() => {
|
|
|
881
890
|
# Issues
|
|
882
891
|
|
|
883
892
|
## iOS
|
|
884
|
-
- Must use "Rosetta Destination" to run debug example app on macOS Apple chip
|
|
893
|
+
- Must use "Rosetta Destination" to run debug example app on macOS Apple chip
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
106
|
+
api 'vn.vihat.omicall:omi-sdk:2.2.83'
|
|
107
107
|
|
|
108
108
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
109
109
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|