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
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,66 @@ Allow Android to use the built in Android telephony service to make and receive
53
53
- Android 4.5.0
54
54
- iOS 5.2.0
55
55
56
+
57
+
### Breaking changes in v5.0.0
58
+
59
+
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 ...
60
+
61
+
- when the app is not in foreground incoming calls result in a heads-up notification with action to "ACCEPT" and "REJECT"
62
+
- ReactMethod `accept` does not dispatch any event. Previously it would dispatch `connectionDidDisconnect`
63
+
- ReactMethod `reject` dispatch a `callInviteCancelled` event instead of `connectionDidDisconnect`
64
+
- ReactMethod `ignore` does not dispatch any event. Previously it would dispatch `connectionDidDisconnect`
65
+
66
+
To allow the library to show heads up notifications you must add the following lines to your application `android/app/src/main/AndroidManifest.xml`:
67
+
68
+
```xml
69
+
<!-- receive calls when the app is in the background-->
ConnectOptions connectOptions = new ConnectOptions.Builder(accessToken)
110
+
.iceOptions(iceOptions)
111
+
.enableDscp(true)
112
+
.params(twiMLParams)
113
+
.build();
114
+
```
115
+
56
116
### Breaking changes in v4.0.0
57
117
58
118
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