App Store and Facebook app > mid-2010: Facebook's "Write Once, Run Everywhere" > 2 April 2009 PhoneGap - wins People's Choice Award at Web 2.0 Conference
// Implementing RCTBridgeModule - (void)sendEventToJS { [self.bridge.eventDispatcher sendAppEventWithName:@"MyEvent" body:@{@"param": @"Hello JS"}]; } var { NativeAppEventEmitter } = React; var subscription = NativeAppEventEmitter.addListener('MyEvent', (event) => console.log("§ Event: " + event) ); ! But synthesize is not available in Swift