Barry0501 / flutter_callkeep

iOS CallKit and Android ConnectionService bindings for Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

callkeep

iOS CallKit and Android ConnectionService bindings for Flutter

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Device Permission

flutter_callkeep requires the following permissions.

Android

If you want to use the function displayIncomingCall, please add the following permissions and service to the AndroidManifest.xml.

..
<uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
..
<application>
    ..
    <service android:name="io.wazo.callkeep.VoiceConnectionService"
        android:label="Wazo"
        android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
        <intent-filter>
            <action android:name="android.telecom.ConnectionService" />
        </intent-filter>
    </service>
    ..
</application>

if you want to use the function displayCustomIncomingCall, please add the following permission to the AndroidManifest.xml.

<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />

About

iOS CallKit and Android ConnectionService bindings for Flutter

License:MIT License


Languages

Language:Kotlin 40.3%Language:Java 33.1%Language:Dart 21.1%Language:Ruby 3.9%Language:Swift 1.2%Language:Objective-C 0.5%