- Implemented closing of the iOS CallKit by VoIP push notification where
signal_type
is 'endCall' or 'rejectCall';
- Implemented the Notify for Incoming Calls feature (thanks for tungs0ul);
- (Android) Add API to manage the
Manifest.permission.USE_FULL_SCREEN_INTENT
permission;
- (Android) Add the Call photo to the Call notification and the Incoming call screen;
- (Android) Add different icons to the Accept buttons depending on the call type;
- (Android) Add the possibility for setting the Notification icon depending on the call type;
- (iOS) Add a method for notifying the CallKit about muting/unmuting the call;
- (iOS) Improvements for audio after accepting the call from the background or killed state;
- (Dart) Add ignoring of not supported platforms;
- (iOS) Improve the audio after accepting from the background or killed state;
- (Android) Fix calling of the
onCallRejectedWhenTerminated
and theonCallAcceptedWhenTerminated
callbacks in the release build;
- (iOS) Fix the crash on the
getLastCallId
method calling;
- (Android) Fix receiving the FCM if plugin connected together with
firebase_messaging
plugin;
- (iOS) Fix notifying plugin about call accepting;
Broken API:
- changed the signature of method
reportCallAccepted
by deleting the parametercallType
;
- (Android) Add the possibility of setting a Notification icon;
- (iOS) Fix getting call state;
- (iOS) Fix second and next calls issue;
- (iOS) Fix audio after accepting from killed state;
- (iOS) Fix crashing on startup (#44)
- (Android) fix the compatibility with
Flutter
3.x.x;
- (Android) update
Gradle
version to the 6.5; - (Android) update
Kotlin
version to the 1.6.21; - (Android) megrate from the
jcenter()
to themavenCentral()
dependesies repository;
- (Android) fixed the working with apps targeted to the
targetSdkVersion 31
and above;
- (iOS, Android) fixed the
user_info
data transporting; - (Android) fixed launching the app by
acceptCall
event;
- Minor updates
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
- Improved compatibility with projects which support Web platform.
-
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
- Initial release.