Skip to content

Don't try to get phone account if self managed when creating a connection#685

Open
donaldkwong wants to merge 3 commits intoreact-native-webrtc:masterfrom
gathertown:dwong/self_managed
Open

Don't try to get phone account if self managed when creating a connection#685
donaldkwong wants to merge 3 commits intoreact-native-webrtc:masterfrom
gathertown:dwong/self_managed

Conversation

@donaldkwong
Copy link
Copy Markdown

We want to use CallKeep without requesting READ_PHONE_STATE permissions on Android, which should be possible if we're in self managed state. However, the connection creation code in VoiceConnectionService always tries to get the phone account, which requires that permission to be granted. This diff adds a check to see if we're in self managed mode and, if so, don't try to get the phone account.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants