Update RNCWebViewModule.java (#509)
In Devices moto e5 play and Samsung Galaxy Note 9 Video Capture via camera return data as null.
This commit is contained in:
parent
1ea05d3115
commit
39e5373d3e
|
@ -244,8 +244,8 @@ public class RNCWebViewModule extends ReactContextBaseJavaModule implements Acti
|
|||
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
|
||||
// @todo from experience, for Videos we get the data onActivityResult
|
||||
// so there's no need to store the Uri
|
||||
Uri outputVideoUri = getOutputUri(MediaStore.ACTION_VIDEO_CAPTURE);
|
||||
intent.putExtra(MediaStore.EXTRA_OUTPUT, outputVideoUri);
|
||||
outputFileUri = getOutputUri(MediaStore.ACTION_VIDEO_CAPTURE);
|
||||
intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);
|
||||
return intent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue