@capgo/capacitor-twilio-voice 8.2.20 → 8.2.22

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
@@ -1,12 +1,28 @@
1
1
  ## Capacitor Twilio Voice Plugin
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-twilio-voice" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Make and receive phone calls in your Capacitor app with the Twilio Voice SDK, using CallKit on iOS and native call notifications on Android.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_twilio_voice"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-twilio-voice" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_twilio_voice"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_twilio_voice"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
8
+ <p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
9
+ <h2><a href="https://capgo.app/register/?ref=plugin_twilio_voice">➡️ Get started for free</a></h2>
10
+ <p>14-day unlimited free trial. No credit card required</p>
11
+ <p><a href="https://capgo.app/consulting/?ref=plugin_twilio_voice">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
13
 
9
- A Capacitor plugin for integrating Twilio Voice calling functionality into iOS and Android applications.
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-twilio-voice/main/assets/github-social-preview.png" alt="@capgo/capacitor-twilio-voice for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **Calls**: `makeCall()`, `acceptCall()`, `rejectCall()` and `endCall()`.
21
+ - **In-call controls**: `muteCall()`, `setSpeaker()` and `getCallStatus()`.
22
+ - **Incoming calls**: push-based call invites with PushKit and CallKit on iOS and Firebase Messaging on Android.
23
+ - **Events**: invite, ringing, connected, disconnected, reconnecting and call quality warnings.
24
+ - **Session**: `login()` with a Twilio access token, `isLoggedIn()` and `logout()`.
25
+ - **Platforms**: iOS and Android. Not available on web. `login()`, `isLoggedIn()` and `getCallStatus()` throw on web.
10
26
 
11
27
  ## Documentation
12
28
 
@@ -75,7 +75,7 @@ import org.json.JSONObject;
75
75
  )
76
76
  public class CapacitorTwilioVoicePlugin extends Plugin {
77
77
 
78
- private final String pluginVersion = "8.2.20";
78
+ private final String pluginVersion = "8.2.22";
79
79
 
80
80
  private static final String TAG = "CapacitorTwilioVoice";
81
81
  private static final String PREF_ACCESS_TOKEN = "twilio_access_token";
@@ -28,7 +28,7 @@ public protocol PushKitEventDelegate: AnyObject {
28
28
  */
29
29
  @objc(CapacitorTwilioVoicePlugin)
30
30
  public class CapacitorTwilioVoicePlugin: CAPPlugin, CAPBridgedPlugin, PushKitEventDelegate {
31
- private let pluginVersion: String = "8.2.20"
31
+ private let pluginVersion: String = "8.2.22"
32
32
 
33
33
  public let identifier = "CapacitorTwilioVoicePlugin"
34
34
  public let jsName = "CapacitorTwilioVoice"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-twilio-voice",
3
- "version": "8.2.20",
3
+ "version": "8.2.22",
4
4
  "description": "Integrates the Twilio Voice SDK into Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",