forked from Ivasoft/mattermost-mobile
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:
committed by
GitHub
parent
cc5331f2ba
commit
8374d7e87f
@@ -128,6 +128,10 @@ jest.doMock('react-native', () => {
|
||||
},
|
||||
}),
|
||||
},
|
||||
WebRTCModule: {
|
||||
senderGetCapabilities: jest.fn().mockReturnValue(null),
|
||||
receiverGetCapabilities: jest.fn().mockReturnValue(null),
|
||||
},
|
||||
};
|
||||
|
||||
const Linking = {
|
||||
|
||||
Reference in New Issue
Block a user