Skip to content

Commit

Permalink
Merge pull request #435 from hiennguyen92/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
hiennguyen92 authored Jan 20, 2024
2 parents eb85119 + 0064a7d commit 590d039
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="SingleInstance"
android:launchMode="singleInstance"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand Down
6 changes: 6 additions & 0 deletions lib/flutter_callkit_incoming.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ class FlutterCallkitIncoming {
await _channel.invokeMethod("showMissCallNotification", params.toJson());
}

/// Hide notification call for Android.
/// Only Android
static Future hideCallkitIncoming(CallKitParams params) async {
await _channel.invokeMethod("hideCallkitIncoming", params.toJson());
}

/// Start an Outgoing call.
/// On iOS, using Callkit(create a history into the Phone app).
/// On Android, Nothing(only callback event listener).
Expand Down

0 comments on commit 590d039

Please sign in to comment.