Skip to content

CleverTap Signed Call Flutter SDK v0.0.7

Latest
Compare
Choose a tag to compare
@shivamsharma2710 shivamsharma2710 released this 21 Nov 05:47
e061a92

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 the CleverTapSignedCallFlutter.shared.init() method:
      • fcmProcessingMode and fcmProcessingNotification: SDK supports the two modes for processing FCM calls: FCMProcessingMode.foreground and FCMProcessingMode.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. The FCMProcessingMode.background is default mode. If choosing the FCMProcessingMode.foreground, the fcmProcessingNotification parameter is mandatory. Refer to the SDK documentation for more details on overriding the default mode.
      • callScreenOnSignalling : A Boolean 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 within onNetworkQualityResponse(int score) callback.
  • [iOS Platform]

  • [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.

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 the overrideDefaultBranding initProperty to customize the countdown ProgressBar's color. The default color is yellow (#F5FA55). Please refer to SDK documentation for the details on usage.

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.