MM-47004 - Calls: Client-side errors for microphone permissions (#6669)

* call error bar for microphone permissions; global permissions state

* i18n

* refactor permissionErrorBar component, PR comments

* add module dependency's mocks for tests

* fix error bar height

* change permissions error text

* working on 46999 redo audio handling -- will revert

* Revert "working on 46999 redo audio handling -- will revert"

This reverts commit 87bafc452c6ad6e1d7ae79ce78a0f2b461c2f150.

* only get voice track when we have mic permissions

* Android: enable mic when permissions are granted
This commit is contained in:
Christopher Poile
2022-11-08 10:52:52 -05:00
committed by GitHub
parent cc5331f2ba
commit 8374d7e87f
20 changed files with 533 additions and 157 deletions

View File

@@ -128,6 +128,10 @@ jest.doMock('react-native', () => {
},
}),
},
WebRTCModule: {
senderGetCapabilities: jest.fn().mockReturnValue(null),
receiverGetCapabilities: jest.fn().mockReturnValue(null),
},
};
const Linking = {