react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
926 stars 445 forks source link

When you use RNCallKeep.setup(options) app will freeze in Android #345

Open reza7ca opened 3 years ago

reza7ca commented 3 years ago

Bug report

Description

"dependencies": { "react": "16.13.1", "react-native": "0.63.4", "react-native-background-timer": "^2.4.1", "react-native-callkeep": "^4.0.1", "react-native-device-info": "^7.3.1", "react-native-push-notification": "zo0r/react-native-push-notification#master", "uuid": "^8.3.2" }

Steps to Reproduce

Versions

- Callkeep: "^4.0.1"
- React Native: "0.63.4"
- iOS:
- Android: Any
- Phone model:  Any

Logs

No logs
vijayakm commented 3 years ago

Hi,

I had the same issue, how I solved it : On your manifest file add this :

<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>