1.0.0-beta.4 (Jan 11, 2024)
Twilio Voice React Native SDK has now reached milestone beta.4. Included in this version are the following.
Fixes
Platform Specific Features
JS
- Fixed an issue with exported types. Typescript language server hinting should now properly prioritize the narrower, more helpful, event-emitter types.
- Narrowed the
CustomParameterstype toRecord<string, string>instead ofRecord<string, any>. - Fixed inconsistency with
AudioDevicetypings, preferringundefinedovernullfor optional values. - Fixed an issue with
call.isMuted()andcall.isOnHold()APIs. They should now always returnboolean | undefinedinstead of potentially returningnull. - Fixed an issue with
call.getFrom(),call.getTo(), andcall.getSid()APIs. They should now always returnstring | undefinedinstead of potentially returningnull.
iOS
- Fixed a bug where the call invite results in a rejected event when the call is hung up by the caller.
- Fixed a bug where the
registeredandunregisteredevents are not fired on iOS. - Fixed an issue where timestamps emitted by the iOS layer were in the wrong units (seconds instead of milliseconds).
Android
- Replace frontline notification images with generic phone images
- In call notifications now display when accepting a call from JS application
- Audio routing for incoming and outgoing calls are now correctly routed
- Internal simplification of call accepted/rejected intent message paths
- Refactored internals & added permissions for Bluetooth and notifications. Please Note that these changes require changes to the application integrating the SDK. For more information, please refer to the Beta.4 migration guide.