connectycube_flutter_call_kit 2.0.0
connectycube_flutter_call_kit: ^2.0.0 copied to clipboard
A Flutter plugin for displaying call screen when app in background or terminated.
2.0.0 #
Completely reworked version. Reworked the way of interaction between the flutter app and native platforms.
Since this version you don't need any third-party plugins for working with push notifications anymore, cause all required functionality has already been integrated into the plugin.
New
- Added iOS support
- Added getting the subscription tokens (VoIP for the iOS and FCM for the Android)
- Added customisation for ringtone, app icon, color accent (for Android)
Fixes and improvements
- reworked callbacks
onCallRejectedWhenTerminated
andonCallAcceptedWhenTerminated
now they will be fired even if the app is terminated or in the background - migrated to
EventChannel
for sending events from native platforms to the Flutter app
0.1.0-dev.2 #
- Improved compatibility with projects which support Web platform.
0.1.0-dev.1 #
-
New:
- Implemented Dart null-safety feature;
- Added method
getCallData(String? sessionId)
for getting all provided data about the call; - Added method
clearCallData(String? sessionId)
which cleans all data related to the call; - Added method
getLastCallId()
which returns the id of the last displayed call. It is useful on starting app step for navigation to the call screen if the call was accepted; - Added static callback
onCallAcceptedWhenTerminated
which can be useful if need listen to events from the Call notification in the background or terminated state;
-
Improvements:
- Added new field
userInfo
, which can be used for exchanging with additional data between the Call notification and your app, you will get this data in callbacksonCallAcceptedWhenTerminated
,onCallAccepted
,onCallRejectedWhenTerminated
,onCallRejected
after setting it in methodshowCallNotification
;
- Added new field
-
Fixes:
- Fixed the wrong calback naming
onCallAcceptedWhenTerminated
->onCallRejectedWhenTerminated
;
- Fixed the wrong calback naming
0.0.1-dev.1 #
- Initial release.