Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kiok46
Copy link

@kiok46 kiok46 commented Aug 10, 2017

The issue mentioned in this template is now closed.

// 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

It was solved by this commit and is available in the docs.

Thanks.

Copy link
Owner

@peggyrayzis peggyrayzis left a 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. 😀

  1. Please reformat your commit msgs and PR titles to Conventional Changelog Standard. Please check the contributing file for examples.
  2. The docs you're pointing to are for Android. Please change them to iOS (if applicable) in both templates/modules & templates/combined.
  3. 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
Copy link
Owner

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.

Copy link
Author

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.

Copy link
Owner

@peggyrayzis peggyrayzis left a 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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants