react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
906 stars 438 forks source link

Callkeep permissions #446

Open filipenatanael opened 3 years ago

filipenatanael commented 3 years ago

Bug report

Description

I am trying to understand better the required permissions in order to improve the user experience. I could not make the callkeep works correctly without SYSTEM_ALERT_WINDOW (Draw over other apps). Is it possible to remove this permission?

Also, considering I am using system managed, is it possible to remove the Calling accounts or even setup automatically?

Versions

- Callkeep: 4.0.1
- React Native:  63.1
- iOS:
- Android: 10 & 11
- Phone model:  Samsung, Motorolas
usamaabutt commented 3 years ago

Hi @filipenatanael I was also facing this issue recently to get this permission for your app your need to add this permission into your AndroidManifest.xml file <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> And after that once your app will goes live to google play store and after install the app through play store this permission will be added into your app by default but on development mode you have to add this permission manually.

Screenshot 2021-06-29 at 7 46 16 PM