You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+59-1
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,67 @@ This is a React-Native wrapper for [Twilio Programmable Voice SDK](https://www.t
4
4
5
5
## Twilio Programmable Voice SDK
6
6
7
-
- Android 5.0.0 (bundled within the module)
7
+
- Android 5.0.2 (bundled within the module)
8
8
- iOS 5.1.0 (specified by the app's own podfile)
9
9
10
+
## Breaking changes in v5.0.0
11
+
12
+
Changes on [Android Twilio Voice SDK v5](https://www.twilio.com/docs/voice/voip-sdk/android/3x-changelog#500) are reflected in the JavaScript API, the way call invites are handled and ...
13
+
14
+
- when the app is not in foreground incoming calls result in a heads-up notification with action to "ACCEPT" and "REJECT"
15
+
- ReactMethod `accept` does not dispatch any event. Previously it would dispatch `connectionDidDisconnect`
16
+
- ReactMethod `reject` dispatch a `callInviteCancelled` event instead of `connectionDidDisconnect`
17
+
- ReactMethod `ignore` does not dispatch any event. Previously it would dispatch `connectionDidDisconnect`
18
+
19
+
To allow the library to show heads up notifications you must add the following lines to your application `android/app/src/main/AndroidManifest.xml`:
20
+
21
+
```xml
22
+
<!-- receive calls when the app is in the background-->
The module implements [react-native autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) as many other native libraries > react-native 0.60.0, therefore it doesn't need to be linked manually.
0 commit comments