januscaler_callkeep 0.4.6 copy "januscaler_callkeep: ^0.4.6" to clipboard
januscaler_callkeep: ^0.4.6 copied to clipboard

iOS CallKit framework and Android ConnectionService for Flutter.

Changelog #


[0.4.6]

  • [fix] Register PushKit early on cold start (earlyVoipRegistration) so VoIP pushes arriving before Dart calls setup are received immediately — prevents iOS from killing the app
  • [fix] Retain PKPushRegistry as static variable to prevent premature deallocation
  • [fix] Remove unnecessary null comparison warning in PushKit interceptor handler
  • [chore] Bump minimum Dart SDK to 2.15.0 (required for unawaited)
  • [chore] Fix .gitignore to not ignore checked-in android/gradle.properties

[0.4.5]

  • [fix] Fix duplicate UUID error (CXErrorCodeIncomingCallErrorCallUUIDAlreadyExists) by checking CXCallObserver before reporting incoming calls
  • [fix] Handle CallKit errors in reportNewIncomingCall completion block — end failed calls to prevent ghost calls
  • [fix] PushKit compliance (iOS 13+): report-and-immediately-end call when shouldDisplay is NO, instead of skipping reportNewIncomingCallWithUUID (which caused app termination)
  • [fix] PushKit compliance (iOS 13+): report-and-immediately-end call for malformed VoIP pushes with aps payload, instead of calling completion without reporting
  • [fix] PushKit compliance: always invoke PushKit completion handler when pending metadata is already consumed
  • [fix] Add safety timeout floor (5s) to guarantee PushKit completion handler is called even when pushApprovalTimeout is 0
  • [fix] Fix potential nil displayName crash in continueUserActivity handler
  • [chore] Replace deprecated INStartAudioCallIntent/INStartVideoCallIntent with INStartCallIntent on iOS 13+
  • [chore] Replace deprecated CXProviderConfiguration initWithLocalizedName: with parameterless init on iOS 14+

[0.4.4]

  • support for pushkit call interceptor [0.4.3]

  • fix podspec to januscaler_callkeep [0.4.2]

  • added toggle speaker support

  • added support for listening PushMessagePayload [0.4.1] - 2025.02.03

  • [Fix] Updates firebase messaging and android gradle

[0.4.0] - 2023.08.24

  • [fix] Extracting UI responsibility, named parameters, android dismissal fix (#189).
  • [fix] make the Object nullable (#182)
  • [chore] Updated to the latest flutter and firebase messaging (#185)
  • [feat] Improve Android broadcasts and iOS delegate (#159)

[0.3.3] - 2023.01.25

  • [fix] Remove as type to allow null assignment.

[0.3.2] - 2021.09.27

  • [feat] Add backgroundMode for setup.
  • [fix] Duplicated call onAnswer. New open method. (#111)
  • [fix] Cannot receive answer call on Android 11 (#98)

[0.3.1] - 2021.07.27

  • Add foregroundService for Android 11.

[0.3.0] - 2021.06.12

  • null safety
  • Add toolkit for testing.
  • Fixed receiving Voip push in background mode for iOS 13+.
  • Fix crash when iOS push uses the wrong push format (alert).

[0.2.4] - 2021.01.08

  • Fix crash when appName is not set.
  • hasDefaultPhoneAccount give feedback about the user choice.

[0.2.3] - 2021.01.08

  • Fix backToForeground method.

[0.2.2] - 2020.12.27

  • Update json format for push payload.

[0.2.1] - 2020.12.23

  • Fix: Missing null check.
  • Fix: change parameter handle to number.

[0.2.0] - 2020.11.11

  • Change FlutterCallKeep as a singleton.
  • Add CallKeepPushKitToken event for iOS.
  • Add firebase_messaging to example.
  • Support waking CallKeep from PushKit when the app is closed.

[0.1.1] - 2020.09.17

  • Fix compile error for iOS.

[0.1.0] - 2020.09.15

  • Initial release.
  • Support iOS 10+ and Android 6.0+.