From 34841c654bf5ae9eb2c78d6ded4d4dc255c24f52 Mon Sep 17 00:00:00 2001 From: DevmateDropRctExportMethod Bot Date: Wed, 5 Aug 2026 03:48:23 -0700 Subject: [PATCH] xplat/js/react-native-github/packages/react-native/Libraries/Vibration/RCTVibration.mm Summary: ...CodemodService Feedback group about this specific diff. * If you have feedback, comment on the diff and use an appropriate diff action. This [diff was created](https://www.internalfb.com/intern/sandcastle/job/18014401344983091/) with [CodemodService](https://www.internalfb.com/codemod_service/CodemodConfigDevmateDropRctExportMethod). Reviewed By: cortinico Differential Revision: D114846017 --- packages/react-native/Libraries/Vibration/RCTVibration.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native/Libraries/Vibration/RCTVibration.mm b/packages/react-native/Libraries/Vibration/RCTVibration.mm index 389dc871c4d2..bc875ed25d4a 100644 --- a/packages/react-native/Libraries/Vibration/RCTVibration.mm +++ b/packages/react-native/Libraries/Vibration/RCTVibration.mm @@ -25,7 +25,7 @@ - (void)vibrate AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); } -RCT_EXPORT_METHOD(vibrate : (double)pattern) +- (void)vibrate:(double)pattern { [self vibrate]; } @@ -36,12 +36,12 @@ - (void)vibrate return std::make_shared(params); } -RCT_EXPORT_METHOD(vibrateByPattern : (NSArray *)pattern repeat : (double)repeat) +- (void)vibrateByPattern:(NSArray *)pattern repeat:(double)repeat { RCTLogError(@"Vibration.vibrateByPattern does not have an iOS implementation"); } -RCT_EXPORT_METHOD(cancel) +- (void)cancel { RCTLogError(@"Vibration.cancel does not have an iOS implementation"); }