- iOS:
- project.pbxproj aligned to Xcode 12.4
- amend podspec
- remove not necessary files
- improve package.json syntax
- add peerDependency on react-native 0.60.0
- Android: ensure that intent action is not null
- iOS add handler to hold/unhold call
- iOS
- Added ability to pass caller's name to CallKit in push notification
- iOS
- Adds ability to handle DTMF codes in CallKit
- iOS
- fix: always disable proximityMonitor on iOS when the call is disconnected
-
Android
- implement new autolinking react native API
- update Firebase Messaging to 17.3.4 which simplifies how to obtain the FCM token
- Android X migration
- use gradle 5.4.1
- use API 28
- upgrade com.twilio:voice-android to 4.3.0
- implement
hold
to hold a call - new event
callInviteCancelled
- new event
callStateRinging
- new method
getCallInvite
- implement call ringing Twilio event
- remove
call_state
from CallInvite
-
iOS
- implement new autolinking react native API
- update Twilio Voice SDK to v5.2.0
- remove method
initWithAccessTokenUrl
, please useinitWithAccessToken
instead - event parity with Android
deviceDidReceiveIncoming
- new event
callInviteCancelled
- new event
callStateRinging
- new event
connectionIsReconnecting
- new event
connectionDidReconnect
- convert params for
connectionDidConnect
to =>call_to
, from =>call_from
- convert params for
connectionDidDisconnect
to =>call_to
, from =>call_from
,error
=>err
-
throw an error when listening to events that do not exist
- iOS: Upgrade TwilioVoice pod to version 2.1
- Switch from rnpm to react-native.config.js
- Android: fix crash when asking for microphone permission before an activity is displayed
- Android: allow to pass arbitrary parameters to call voice.call() as it is on iOS
- iOS: fix crash when callSid is nil for CallInviteCanceled
- Android: option to opt out microphone permission request
- upgrade com.twilio:voice-android to 2.0.7
- upgrade firebase-messaging to 17.+
- Validate token type before calling native module
- avoid keeping the screen on when a call is received with a locked device
- remove PowerManager wakelock pattern
- disconnect any existing calls when the app is terminated
- Android: Twilio Voice SDK 2.0.6
- iOS: Twilio Voice SDK 2.0.4
- Android: Twilio Voice SDK 2.0.5
- init notifications channel before showing call in progress notification
- add cocoapods support to install iOS native package
- Android: start up the app in fullscreen for incoming calls
- Android: pass call params to disconnect event when ignoring a call
- Android: pass call params to disconnect event when rejecting a call
- Android: Twilio Voice SDK 2.0.4
- iOS: the library is compatible with Twilio Voice SDK 2.0.2
- iOS: the library is compatible with Twilio Voice SDK 2.0.0-beta21
- iOS: handle events when a call is put on hold
- iOS: the library is compatible with Twilio Voice SDK 2.0.0-beta20
- fix crash on Oreo abandonAudioFocusRequest()
- update com.google.gms:google-services to 3.1.2
- use latest API 26 support library
- Android: Twilio Voice SDK 2.0.2
- Android: use proximity sensor to lock screen during calls
- Android: send event to JavaScript for headset plugged in
- Android: fix unset audio focus for Android O
- Android: Twilio Voice SDK 2.0.0-beta24
- Implement Android O notification channels
- Android: ensure that audio settings are set back to normal when the app destroys
- Android:fix audio settings when set speakers on/off
- Android: prevent other apps to emit sound when a call is in progress
- Android: Twilio Voice SDK 2.0.0-beta20
- Implement Call.Listener onConnectFailure()
- Fix iOS HEADER_SEARCH_PATHS
- Android: Twilio Voice SDK 2.0.0-beta18
- Adapt setAudioFocus() for Android O
- Android: add compatibility for react native >= 0.47
- iOS: ensure the proximity sensor is enabled when starting a call
Make the iOS initialization process the same as Android
- iOS: call event
deviceReady
only when the accessToken registration is successful - iOS: implement event
deviceNotReady
called when the accessToken registration is not successful
Breaking changes:
- initWitToken returns an object with a property
initialized
instead ofinitilized
- iOS event
connectionDidConnect
returns the same properties as Android move propertyto
=>call_to
move propertyfrom
=>call_from
New iOS
- iOS: the library is compatible with Twilio Voice SDK 2.0.0-beta15
- iOS use CallKit reportOutgoingCallWithUUID when initializing calls
New Android
- add properties
call_to
andcall_from
to Android eventconnectionDidConnect
- Make sure CallKit session is ended when the call is terminated by the callee - @SimonRobinson
- Make sure CallKit session is ended on fail - @Pagebakers
- Android: Twilio Voice SDK 2.0.0-beta17
- Android: Twilio Voice SDK 2.0.0-beta16
- make sure the Android build uses the latest version 10 of firebase.messaging to avoid dependencies conflicts crashes
- iOS: prevent CallKit to be initialised more than once
- iOS: correct handling of calls disconnection
- iOS: implementing getActiveCall()
- iOS: initWithToken() now returns the same value as Android
- iOS: handle call failure and pass to JS the most descriptive error
- iOS: Twilio Voice SDK 2.0.0-beta13
- Android: Twilio Voice SDK 2.0.0-beta15
- use buildToolsVersion "25.0.2"
- use targetSdkVersion 25
- fix registerActionReceiver() called twice
- fix reject() intent not sending CONNECTION_STOP to JavaScript
- fix ingore() not not sending CONNECTION_STOP to JavaScript when there is not activeInviteCall
- Android: Twilio Voice SDK 2.0.0-beta14
- iOS: call TwilioVoice audioSessionDeactivated on didDeactivateAudioSession
- iOS: performEndCallActionWithUUID when call is disconnected from the app
- Android: Twilio Voice SDK 2.0.0-beta13
- iOS: Twilio Voice SDK 2.0.0-beta11
- iOS: Twilio Voice SDK 2.0.0-beta10
- Android: Twilio Voice SDK 2.0.0-beta11
- Android: fix library for RN 0.45.1
- ios: send connectionDidDisconnect when the call invite terminates
- ios implementation with CallKit
- use Twilio Voice SDK 2.0.0-beta8
- Android: use incoming call notification full screen
- use Twilio beta 5
- removed requestPermissions, react-native API should be used instead
- renamed getIncomingCall() to getActiveCall()
- set the audio of the call as MODE_IN_COMMUNICATION
- fix crash when activityManager is null
- add call_from and call_to to the event connectionDidDisconnect
- Android: fix. Clear callInvite when the caller hangs up
- Android: fix gradle import beta4
- Android: use Twilio Voice SDK Beta4
- improve logic for starting the MainActivity when receiving a call. The Intent flags depends on the App importance (fixes the 0.5.3 for Android 6.0)
- make sure all wakelock are released after being acquired, and the keyguard re-enabled
- set incoming call Intent flag depending on App importance (App status)
- Prevent incoming call from starting a new task: use (Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP) for the Intent
- Prevent the incoming call Intent to be broadcast when the app is in the foreground
- allow custom notification icons
- fix showing incoming call
- add pendingIntent to clear missed calls number
- prevent double incoming call cancelled message
- start activity as soon as a call notification arrives
- wakes up the device when a call arrives
- use ringtone, removing notification sound
- handle gracefully when a call is accepted twice
- don't create a missed calls when the call is rejected or ignored manually
- simplify life-cycle of local hangup notification
- remove crash on disconnect
- add notification for missed calls
- add chronometer for ongoing calls
- use FLAG_UPDATE_CURRENT rather than FLAG_ONE_SHOT for pending intents
- add protections from null callSid
- fix wrong boolean, from the previous refactoring
- add null checks on all
call
variables before invoking getCallSid() - remove unused import
- follow Android Studio linting instructions
- fix typo in setMuted()
- avoid registering the same event listener multiple times
- Check if Google Play Services are available before initialising Twilio for receiving calls.
- Method initWithToken returns a Promise to let the application know if the initialisation did succeed.
- fix the instruction to setup the
AndroidManifest.xml
file