Skip to content

Commit 168e7fc

Browse files
author
Pham Hieu
committed
Update doc for "Sending events to JavaScript"
1 parent 7e790a5 commit 168e7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/NativeModulesIOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The native module can signal events to JavaScript without being invoked directly
187187
- (void)calendarEventReminderReceived:(NSNotification *)notification
188188
{
189189
NSString *eventName = notification.userInfo[@"name"];
190-
[self.bridge.eventDispatcher sendAppEventWithName:@"EventReminder"
190+
[self.bridge.eventDispatcher sendDeviceEventWithName:@"EventReminder"
191191
body:@{@"name": eventName}];
192192
}
193193

0 commit comments

Comments
 (0)