call_watcher 0.0.4 call_watcher: ^0.0.4 copied to clipboard
a flutter plugin to listen to call state changes and maintain a call ledger.
call_watcher #
a flutter plugin to listen to call status, and mantain a call log, uses CallKit
on iOS
Usage on iOS #
add these permissions to your ios/Runner/Info.plist
in your app
<key>NSUserActivityTypes</key>
<array>
<string>INStartAudioCallIntent</string>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tel</string>
</array>
Usage on Android #
add these permissions to your AndroidManifest.xml
in your app
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<!-- If you want to clear call log (Optional) -->
<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
TODO: #
- ✅ Add Android Support
- ❌ Callback from native to flutter