capacitor-plugin-vonage 0.1.2 → 0.1.4
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/CapacitorPluginVonage.podspec +1 -0
- package/README.md +16 -0
- package/android/src/main/java/com/managemyhealth/plugin/vonage/VideoCallActivity.java +226 -307
- package/android/src/main/java/com/managemyhealth/plugin/vonage/vonagePlugin.java +32 -5
- package/android/src/main/res/drawable/circle_shape.xml +8 -8
- package/android/src/main/res/layout/custom_dialog_layout.xml +54 -0
- package/android/src/main/res/layout/custom_toast_green_layout.xml +1 -2
- package/android/src/main/res/layout/video_call_layout.xml +5 -0
- package/android/src/main/res/values/strings.xml +4 -0
- package/dist/docs.json +18 -0
- package/dist/esm/definitions.d.ts +3 -0
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +3 -0
- package/dist/esm/web.js +5 -0
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +5 -0
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +5 -0
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/CustomAlertViewController.swift +77 -0
- package/ios/Plugin/CustomAlertViewController.xib +137 -0
- package/ios/Plugin/VideoChatViewController.swift +43 -16
- package/ios/Plugin/vonagePlugin.m +1 -0
- package/ios/Plugin/vonagePlugin.swift +14 -1
- package/package.json +1 -1
@@ -11,6 +11,7 @@ Pod::Spec.new do |s|
|
|
11
11
|
s.author = package['author']
|
12
12
|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
14
|
+
s.resources = "ios/Plugin/**/*.{xib}"
|
14
15
|
s.ios.deployment_target = '13.0'
|
15
16
|
s.dependency 'Capacitor'
|
16
17
|
#s.dependency 'OpenTok','2.25.0'
|
package/README.md
CHANGED
@@ -17,6 +17,7 @@ npx cap sync
|
|
17
17
|
* [`openVideoCallWindow(...)`](#openvideocallwindow)
|
18
18
|
* [`endVideoCall()`](#endvideocall)
|
19
19
|
* [`setPatientOnlineStatus(...)`](#setpatientonlinestatus)
|
20
|
+
* [`setSendNotificationStatus(...)`](#setsendnotificationstatus)
|
20
21
|
* [`addListener([eventName: 'VideoCallEnded', listenerFunc: (info: any) => void] | [eventName: 'SendNotification', listenerFunc: (info: any) => void] | [eventName: 'VideoCallStarted', listenerFunc: (info: any) => void], ...)`](#addlistenereventname-videocallended-listenerfunc-info-any--void--eventname-sendnotification-listenerfunc-info-any--void--eventname-videocallstarted-listenerfunc-info-any--void)
|
21
22
|
* [Interfaces](#interfaces)
|
22
23
|
* [Type Aliases](#type-aliases)
|
@@ -82,6 +83,21 @@ setPatientOnlineStatus(options: Object) => Promise<{ value: any; }>
|
|
82
83
|
--------------------
|
83
84
|
|
84
85
|
|
86
|
+
### setSendNotificationStatus(...)
|
87
|
+
|
88
|
+
```typescript
|
89
|
+
setSendNotificationStatus(options: Object) => Promise<{ value: any; }>
|
90
|
+
```
|
91
|
+
|
92
|
+
| Param | Type |
|
93
|
+
| ------------- | ----------------------------------------- |
|
94
|
+
| **`options`** | <code><a href="#object">Object</a></code> |
|
95
|
+
|
96
|
+
**Returns:** <code>Promise<{ value: any; }></code>
|
97
|
+
|
98
|
+
--------------------
|
99
|
+
|
100
|
+
|
85
101
|
### addListener([eventName: 'VideoCallEnded', listenerFunc: (info: any) => void] | [eventName: 'SendNotification', listenerFunc: (info: any) => void] | [eventName: 'VideoCallStarted', listenerFunc: (info: any) => void], ...)
|
86
102
|
|
87
103
|
```typescript
|