Version 0.0.7 (November 21, 2024)
What's new
-
[Android Platform]
- Supports Signed Call Android SDK v0.0.7.4 which is compatible with CleverTap Android SDK v6.2.1.
- CallStyle Notifications on Android 12 and Onwards:
- Replaced regular call notifications with the CallStyle notifications for incoming, outgoing and ongoing calls. This update adheres to the new standards for non-dismissible notifications as outlined in the Android 14 behavior changes. These notifications are given top priority in the notification shade or tray.
- Call Quality Control Enhancements: Introduced network quality checks at both the initiator and receiver ends to ensure optimal call quality.
- At the Initiator Side, the SDK checks network latency before processing a call request. If the network latency exceeds the benchmark, set by the SDK, the SDK returns an error with the code 5004 within the signedCallInitHandler.
- At the Receiver Side, the SDK evaluates network quality before showing the incoming call screen. The network quality score (ranging from -1 to 100) is provided via the
onNetworkQualityResponse(int score)
callback, allowing the app to decide whether to proceed with or decline the call. Refer to the SDK documentation for detailed usage.
- Support new parameters in the
initProperties
object which gets passed to theCleverTapSignedCallFlutter.shared.init()
method:fcmProcessingMode
andfcmProcessingNotification
: SDK supports the two modes for processing FCM calls:FCMProcessingMode.foreground
andFCMProcessingMode.background
. These modes determine how the SDK handles incoming calls whether in background or in a foreground service depending on whether the app is actively running or is running in the background. TheFCMProcessingMode.background
is default mode. If choosing theFCMProcessingMode.foreground
, thefcmProcessingNotification
parameter is mandatory. Refer to the SDK documentation for more details on overriding the default mode.callScreenOnSignalling
: ABoolean
property to control when the outgoing call screen appears relative to the signaling process. By default, the SDK immediately displays the outgoing call screen upon a call request and performs the validations in background. Please refer to SDK documentation for detailed usage.
- Support new call events in the CleverTapSignedCallFlutter.shared.callEventListener handler:
CallEvent.appInitiatedCallDeclinedDueToNetworkQuality
: Allows to determine the cases where app initiates the call-decline based on the network quality score provided withinonNetworkQualityResponse(int score)
callback.
-
[iOS Platform]
- Supports Signed Call iOS SDK v0.0.9 which is compatible with CleverTap iOS SDK v7.0.2 and higher.
-
[Android and iOS Platform]
-
Remote Context Configuration for Call Screens:
- Added support for setting a remoteContext parameter within
callOptions
object during call initiation, allowing to pass custom context for receiver's call screens.
- Added support for setting a remoteContext parameter within
Bug Fixes
- [iOS Platform]
- Resolved sa_family_t declaration issue to ensure compatibility with Xcode 16.
- Resolves
EXC_BAD_ACCESS
error that occurred when clicking the mute button on the CallKit screen. This exception was only observed in debugging mode. - Fixes synchronization issues regarding the Mute and Speaker controllers between the CallKit and native screens.
Behaviour Changes
- [Android Platform]
- Optimized screen launch delay when initiating a call. The SDK now launches the outgoing call screen immediately, without waiting for signaling confirmation. A countdown ProgressBar is displayed around the cancel button until signaling is completed. You can use the
cancelCountdownColor
parameter within theoverrideDefaultBranding
initProperty to customize the countdown ProgressBar's color. The default color is yellow (#F5FA55). Please refer to SDK documentation for the details on usage.
- Optimized screen launch delay when initiating a call. The SDK now launches the outgoing call screen immediately, without waiting for signaling confirmation. A countdown ProgressBar is displayed around the cancel button until signaling is completed. You can use the
Enhancements
- [Android Platform]
- Optimized delay in the heads-up behavior of the call notification when the user exits from the call screen.
- Added fallback to the regular notification template for call notifications when using the CallStyle template, in case the full-screen intent permission is not granted.
- Prevented the call notification popup when the SDK requests microphone permissions after the call is accepted.