Skip to content

fix: objc function signature is incorrect #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ SPEC CHECKSUMS:
React-perflogger: 6bd153e776e6beed54c56b0847e1220a3ff92ba5
React-RCTActionSheet: c0b62af44e610e69d9a2049a682f5dba4e9dff17
React-RCTAnimation: f9bf9719258926aea9ecb8a2aa2595d3ff9a6022
React-RCTAppDelegate: 78fbcd311b25483cb6d456389ceac08ca0cfeabc
React-RCTAppDelegate: c8d3243d5bb05b158abe85c6105586e966cb211d
React-RCTBlob: c4f1e69a6ef739aa42586b876d637dab4e3b5bed
React-RCTFabric: 125e7d77057cb62f94e79ac977fd68be042a3bc5
React-RCTImage: e5798f01aba248416c02a506cf5e6dfcba827638
Expand Down
1 change: 0 additions & 1 deletion ios/ReactNativePermissions.mm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ - (NSString *)getCameraPermissionStatus {
return @"not-dethermined";
}


- (void)requestCameraPermission:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject {
AVAuthorizationStatus status = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
if(status == AVAuthorizationStatusAuthorized) {
Expand Down