npm @twilio/voice-react-native-sdk 1.0.0-beta.4

latest releases: 1.8.0, 1.8.0-rc2, 2.0.0-preview.2...
2 years ago

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 CustomParameters type to Record<string, string> instead of Record<string, any>.
  • Fixed inconsistency with AudioDevice typings, preferring undefined over null for optional values.
  • Fixed an issue with call.isMuted() and call.isOnHold() APIs. They should now always return boolean | undefined instead of potentially returning null.
  • Fixed an issue with call.getFrom(), call.getTo(), and call.getSid() APIs. They should now always return string | undefined instead of potentially returning null.

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 registered and unregistered events 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.

Don't miss a new voice-react-native-sdk release

NewReleases is sending notifications on new releases.