Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Commit 7603706

Browse files
Michael Elsdörfern1ru4l
authored andcommitted
feat(rn-camera): trigger onCameraReady on ios emulator (#1881)
1 parent 537f4be commit 7603706

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/RN/RNCamera.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ - (void)pausePreview
588588
- (void)startSession
589589
{
590590
#if TARGET_IPHONE_SIMULATOR
591+
[self onReady:nil];
591592
return;
592593
#endif
593594
// NSDictionary *cameraPermissions = [EXCameraPermissionRequester permissions];

0 commit comments

Comments
 (0)