react-native-webrtc / react-native-webrtc/react-native-callkeep

hasPhoneAccount returns false if microphone permission is off

Open
#177 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.1k
Forks
511
Avg merge
9h 12m
Merged PRs (30d)
2

Description

Bug report

  • Reproduced on:
  • Android
  • iOS

Description

I use hasPhoneAccount to check if the phone account is allowed, but if I turn off the microphone it will return false if microphone is off. Probably related with #150

Steps to Reproduce

Turn off the microphone permission and call hasPhoneAccount

Versions

- Callkeep: 3.0.10
- React Native: 0.59.10
- Android: 9
- Phone model: Galasy J6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Android implementation and entry point for hasPhoneAccount, then reproduce the issue with microphone permission disabled on Android. Confirm what phone-account state the method checks and verify that its result is independent of microphone permission; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.