-
Notifications
You must be signed in to change notification settings - Fork 63
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
update for ios-objc template #29
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there! Thanks for your contribution. There are a couple things that need to happen before I can merge your PR. 😀
- Please reformat your commit msgs and PR titles to Conventional Changelog Standard. Please check the contributing file for examples.
- The docs you're pointing to are for Android. Please change them to iOS (if applicable) in both
templates/modules
&templates/combined
. - Please update snapshot tests with
npm run test:update
when you're finished.
Please feel free to ask questions if any of the above is unclear. Thanks!
@@ -55,7 +55,8 @@ - (NSDictionary *)constantsToExport | |||
// Implement methods that you want to export to the native module | |||
- (void) emitMessageToRN: (NSString *)eventName :(NSDictionary *)params { | |||
// The bridge eventDispatcher is used to send events from native to JS env | |||
// No documentation yet on DeviceEventEmitter: https://github.com/facebook/react-native/issues/2819 | |||
// Documentation on DeviceEventEmitter: | |||
// https://facebook.github.io/react-native/docs/native-modules-android.html#sending-events-to-javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pointing to the Android documentation instead of iOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad 😆 , will update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I still need you to implement the feedback from my previous review of this PR (items 1-3) before I can merge. If you have any questions, please let me know.
@@ -55,7 +55,8 @@ - (NSDictionary *)constantsToExport | |||
// Implement methods that you want to export to the native module | |||
- (void) emitMessageToRN: (NSString *)eventName :(NSDictionary *)params { | |||
// The bridge eventDispatcher is used to send events from native to JS env | |||
// No documentation yet on DeviceEventEmitter: https://github.com/facebook/react-native/issues/2819 | |||
// Documentation on DeviceEventEmitter: | |||
// https://facebook.github.io/react-native/docs/native-modules-ios.html#sending-events-to-javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this change.
The issue mentioned in this template is now closed.
It was solved by this commit and is available in the docs.
Thanks.