Skip to content

Commit

Permalink
Merge pull request #475 from hiennguyen92/dev
Browse files Browse the repository at this point in the history
feat: 2.0.3 Fixed issue build
  • Loading branch information
hiennguyen92 authored Mar 6, 2024
2 parents a91e803 + 352ea38 commit 5b8705c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.0.3
* Fixed linked func `hideCallkitIncoming`

## 2.0.2+2
* Fixed linked func `hideCallkitIncoming`

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ A Flutter plugin to show incoming call in your Flutter app(Custom for Android/Ca

[![pub package](https://img.shields.io/pub/v/flutter_callkit_incoming.svg)](https://pub.dev/packages/flutter_callkit_incoming)
[![pub points](https://img.shields.io/pub/points/flutter_callkit_incoming?label=pub%20points)](https://pub.dev/packages/flutter_callkit_incoming/score)
[![GitHub stars](https://img.shields.io/github/stars/hiennguyen92/flutter_callkit_incoming.svg?style=social)](https://github.com/hiennguyen92/flutter_callkit_incoming/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/hiennguyen92/flutter_callkit_incoming.svg?style=social)](https://github.com/hiennguyen92/flutter_callkit_incoming/network)
[![GitHub license](https://img.shields.io/github/license/hiennguyen92/flutter_callkit_incoming.svg)](https://github.com/hiennguyen92/flutter_callkit_incoming/blob/master/LICENSE)
[![Build Status](https://github.com/hiennguyen92/flutter_callkit_incoming/actions/workflows/main.yml/badge.svg)](https://github.com/hiennguyen92/flutter_callkit_incoming/actions/workflows/main.yml)

## Sponsors
Expand Down Expand Up @@ -160,7 +163,10 @@ Our top sponsors are shown below!
```
* Hide notification call for Android
```
await FlutterCallkitIncoming.hideCallkitIncoming(this._currentUuid);
CallKitParams params = CallKitParams(
id: _currentUuid,
);
await FlutterCallkitIncoming.hideCallkitIncoming(params);
```

* Started an outgoing call
Expand Down
5 changes: 0 additions & 5 deletions lib/flutter_callkit_incoming.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ class FlutterCallkitIncoming {
return await _channel.invokeMethod("requestNotificationPermission", data);
}

/// Hide notification call for Android
static Future hideCallkitIncoming(String id) async {
await _channel.invokeMethod("hideCallkitIncoming", {'id': id});
}

static CallEvent? _receiveCallEvent(dynamic data) {
Event? event;
Map<String, dynamic> body = {};
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_callkit_incoming
description: Flutter Callkit Incoming to show callkit screen in your Flutter app.
version: 2.0.2+2
version: 2.0.3
homepage: https://github.com/hiennguyen92/flutter_callkit_incoming
repository: https://github.com/hiennguyen92/flutter_callkit_incoming
issue_tracker: https://github.com/hiennguyen92/flutter_callkit_incoming/issues
Expand Down

0 comments on commit 5b8705c

Please sign in to comment.