Skip to content

Commit

Permalink
fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
tigran-visible committed Feb 13, 2024
1 parent dcee05b commit 4b23c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/A0Auth0.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ - (dispatch_queue_t)methodQueue
}

RCT_EXPORT_METHOD(webAuthLogout:(NSString *)scheme federated:(BOOL)federated redirectUri:(NSString *)redirectUri safariViewControllerPresentationStyle:(NSInteger)safariViewControllerPresentationStyle resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
[self.nativeBridge webAuthLogoutWithFederated:federated redirectUri:redirectUri resolve:resolve reject:reject];
[self.nativeBridge webAuthLogoutWithFederated:federated redirectUri:redirectUri safariViewControllerPresentationStyle: safariViewControllerPresentationStyle resolve:resolve reject:reject];
}

RCT_EXPORT_METHOD(resumeWebAuth:(NSString *)url resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
Expand Down

0 comments on commit 4b23c76

Please sign in to comment.