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

Device List #18

Closed
wants to merge 13 commits into from
Closed

Device List #18

wants to merge 13 commits into from

Conversation

kphed
Copy link
Contributor

@kphed kphed commented Jul 25, 2016

Pressing connect initiates a scan for all hardware devices in range. The devices are displayed in a list format and upon pressing, begins the connection process.

Also fixed a few things such as:

  • Fixed warnings in Xcode for deprecated RN event emitter
  • Changed accelerometer class for all MW boards (not just the R)
  • Code clean-up and formatting

This change is Reviewable

@@ -6,7 +6,7 @@ import {
View,
StyleSheet,
NativeModules,
NativeAppEventEmitter,
NativeEventEmitter,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know what's the difference between NativeAppEventEmitter and NativeEventEmitter? How come we use one over the other?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup! Before, when we were using NativeAppEventEmitter (the docs told us to do this), Xcode had a warning that said that what we were using was deprecated. I found this: facebook/react-native#8714.

@kphed
Copy link
Contributor Author

kphed commented Jul 26, 2016

I'll need to fix a couple of bugs before merging.

@kphed kphed closed this Jul 26, 2016
@kevhuang kevhuang deleted the user-interface branch September 2, 2016 23:49
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.

3 participants