show the camera after the required permissions have been granted #48
1 changed files with 8 additions and 8 deletions
|
@ -1251,16 +1251,16 @@ class PublishPage extends React.PureComponent {
|
||||||
type={this.state.cameraType}
|
type={this.state.cameraType}
|
||||||
flashMode={RNCamera.Constants.FlashMode.off}
|
flashMode={RNCamera.Constants.FlashMode.off}
|
||||||
androidCameraPermissionOptions={{
|
androidCameraPermissionOptions={{
|
||||||
title: 'Camera',
|
title: __('Camera'),
|
||||||
message: 'Please grant access to make use of your camera',
|
message: __('Please grant access to make use of your camera'),
|
||||||
buttonPositive: 'OK',
|
buttonPositive: __('OK'),
|
||||||
buttonNegative: 'Cancel',
|
buttonNegative: __('Cancel'),
|
||||||
}}
|
}}
|
||||||
androidRecordAudioPermissionOptions={{
|
androidRecordAudioPermissionOptions={{
|
||||||
title: 'Audio',
|
title: __('Audio'),
|
||||||
message: 'Please grant access to record audio',
|
message: __('Please grant access to record audio'),
|
||||||
buttonPositive: 'OK',
|
buttonPositive: __('OK'),
|
||||||
buttonNegative: 'Cancel',
|
buttonNegative: __('Cancel'),
|
||||||
}}
|
}}
|
||||||
notAuthorizedView={
|
notAuthorizedView={
|
||||||
<View style={publishStyle.fullCentered}>
|
<View style={publishStyle.fullCentered}>
|
||||||
|
|
Loading…
Reference in a new issue