Skip to content

Commit 4baec0d

Browse files
committed
feat: release version 3.1.0 with native SPM support, Android Telecom service, and various bug fixes and improvements
1 parent 2e2f21d commit 4baec0d

3 files changed

Lines changed: 51 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1-
## 3.0.1
2-
* Add optional `onError` completion handler to `showCallkitIncoming` for iOS. Allows the host application to handle errors returned by reportNewIncomingCall, providing visibility into failures caused by system-level restrictions (e.g., Do Not Disturb mode) or invalid configurations.
1+
## 3.1.0
2+
* Add native **Swift Package Manager (SPM)** support for iOS with auto-linked `CryptoSwift` dependency.
3+
* Add explicit Objective-C compatible overload `showCallkitIncoming(_:fromPushKit:)` in `SwiftFlutterCallkitIncomingPlugin` to fix compilation issues in native Objective-C runner.
4+
* Conform `AppDelegate` in example project to `CallkitIncomingAppDelegate` by implementing the missing `providerDidReset()` method.
5+
* Update environment constraints in `pubspec.yaml` to require Dart SDK `>=3.0.0` and Flutter `>=3.10.0`.
6+
* Add optional `onError` completion handler to `showCallkitIncoming` for iOS, thank @nukeolay https://github.com/hiennguyen92/flutter_callkit_incoming/pull/803
7+
* Implement self-managed Telecom ConnectionService on Android, thank @kennss https://github.com/hiennguyen92/flutter_callkit_incoming/pull/809
8+
* Add Background Message Handler and Enhanced Android Foreground Service Support, thank @fedehsq https://github.com/hiennguyen92/flutter_callkit_incoming/pull/800
9+
* Fix Android duplicated notification on call connected event, thank @skutimechanic https://github.com/hiennguyen92/flutter_callkit_incoming/pull/764
10+
* Refactor and improve type safety, thank @AAkira https://github.com/hiennguyen92/flutter_callkit_incoming/pull/772
11+
* Implement volume key handling to mute incoming call sound on key press, thank @jawad1257 https://github.com/hiennguyen92/flutter_callkit_incoming/pull/781
12+
* Fix ongoing ringtone and vibrations on the action call connected, thank @skutimechanic https://github.com/hiennguyen92/flutter_callkit_incoming/pull/783
13+
* Add custom color option for accept and decline buttons for Android, thank @baldarama https://github.com/hiennguyen92/flutter_callkit_incoming/pull/790
14+
* Fix Android ringtone/vibration stopping on auto lock, thank @phildupuis https://github.com/hiennguyen92/flutter_callkit_incoming/pull/792
15+
* Dynamically update CXProvider configuration for subsequent calls on iOS, thank @MS-Rex https://github.com/hiennguyen92/flutter_callkit_incoming/pull/805
16+
* Fix Android showCallkitIncoming silently dropping calls when host process is kept alive, thank @sherzodkamoldinov https://github.com/hiennguyen92/flutter_callkit_incoming/pull/808
17+
* Refactor notification and sound management: Updated incoming notification, thank @AbdurahmanAlmehdi https://github.com/hiennguyen92/flutter_callkit_incoming/pull/812
18+
* Fix iOS outgoing call actionCallAccept emitting default/empty Data instead of original call params, thank @mechtech-mind https://github.com/hiennguyen92/flutter_callkit_incoming/pull/813
19+
* Fix and handle null intent.action in TransparentActivity, thank @AlexBacich https://github.com/hiennguyen92/flutter_callkit_incoming/pull/814
320

421
## 3.0.0
522
* Using Plugin DSL for Android, thank @AAkira https://github.com/hiennguyen92/flutter_callkit_incoming/pull/743

README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,31 @@ Our top sponsors are shown below!
2626
<img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174">
2727
</a>
2828

29+
## 📌 Table of Contents
30+
- [⭐ Features](#-features)
31+
- [🚀 Installation](#-installation)
32+
- [1. Install Packages](#1-install-packages)
33+
- [2. Configure Project](#2-configure-project)
34+
- [Android Configuration](#android)
35+
- [iOS Configuration](#ios)
36+
- [Swift Package Manager (SPM) Support](#swift-package-manager-spm-support-flutter-324)
37+
- [3. Usage](#3-usage)
38+
- [📋 Properties](#-properties)
39+
- [📱 Pushkit Setup](#-pushkit---received-voip-and-wake-app-from-terminated-state-ios-only)
40+
- [🎯 Demo](#-demo)
41+
2942
## ⭐ Features
3043

3144
- Show an incoming call
3245
- Start an outgoing call
3346
- Custom UI Android/Callkit for iOS
3447
- Example using Pushkit/VoIP for iOS
3548

36-
## ⚠️ iOS: ONLY WORKING ON REAL DEVICE
37-
38-
**Please make sure setup/using [PUSHKIT](https://github.com/hiennguyen92/flutter_callkit_incoming/blob/master/PUSHKIT.md) FOR VOIP**
39-
40-
> **Note:** Please do not use on simulator (Callkit framework not working on simulator)
49+
> [!WARNING]
50+
> ### iOS: ONLY WORKING ON REAL DEVICE
51+
> **Please make sure setup/using [PUSHKIT](https://github.com/hiennguyen92/flutter_callkit_incoming/blob/master/PUSHKIT.md) FOR VOIP**
52+
>
53+
> *Note:* Please do not use on simulator (Callkit framework is not fully supported on simulator for incoming VoIP calls).
4154
4255
## 🚀 Installation
4356

@@ -94,6 +107,17 @@ The following rule needs to be added in the `proguard-rules.pro` to avoid obfusc
94107
</array>
95108
```
96109

110+
#### Swift Package Manager (SPM) Support (Flutter 3.24+)
111+
112+
This plugin natively supports Swift Package Manager (SPM). To configure your project to build using SPM instead of CocoaPods, run:
113+
114+
```bash
115+
flutter config --enable-swift-package-manager
116+
```
117+
118+
> [!IMPORTANT]
119+
> Swift Package Manager is highly recommended for modern Flutter projects as CocoaPods is in maintenance mode and will become read-only in December 2026.
120+
97121
### 3. Usage
98122

99123
#### Import
@@ -666,7 +690,8 @@ Please check [PUSHKIT.md](https://github.com/hiennguyen92/flutter_callkit_incomi
666690

667691
## 📋 Todo
668692

669-
- [ ] Run background
693+
- [X] Run background / background execution support (implemented via self-managed Telecom service & didActivate background replay cache)
694+
- [X] Swift Package Manager (SPM) support
670695
- [ ] Simplify the setup process
671696
- [X] Custom notification for iOS (Missing notification)
672697
- [X] Keep notification when calling

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_callkit_incoming
22
description: Flutter Callkit Incoming to show callkit screen in your Flutter app.
3-
version: 3.0.1
3+
version: 3.1.0
44
homepage: https://github.com/hiennguyen92/flutter_callkit_incoming
55
repository: https://github.com/hiennguyen92/flutter_callkit_incoming
66
issue_tracker: https://github.com/hiennguyen92/flutter_callkit_incoming/issues

0 commit comments

Comments
 (0)