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

[Wallet] Use async support in react-native-tcp for connectIPC on Android #3099

Merged
merged 8 commits into from
Mar 18, 2020

Conversation

etuleu
Copy link
Contributor

@etuleu etuleu commented Mar 12, 2020

Description

The goal of this PR is to make use of the version of react-native-tcp that has support for async networking to communicate with the unix socket exposed by geth.

Tested

yarn reset && yarn && cd packages/mobile && yarn dev:android
Made sure the app runs and using adb logcat looked for logs coming from the new version of react-native-tcp.

Other changes

None.

Related issues

  • Fixes #[issue number here]

Backwards compatibility

This change is backwards compatible.

@etuleu etuleu requested a review from cmcewen March 12, 2020 20:40
@etuleu etuleu requested a review from jmrossy as a code owner March 12, 2020 20:40
@@ -115,7 +115,7 @@
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^9.11.1",
"react-native-swiper": "^1.5.14",
"react-native-tcp": "https://github.com/cmcewen/react-native-tcp#65a1e45",
"react-native-tcp": "https://github.com/cmcewen/react-native-tcp#41caaa4",
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the change correspond to this PR: valora-inc/react-native-tcp#5
If so, please get that merged to master on the RN-TCP repo before you use it here

Copy link
Contributor

Choose a reason for hiding this comment

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

if that PR is ready for review I'll have a look :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe @cmcewen approved that PR but it can't hurt to get an extra look. Also I am online and available for a call/chat if you have any questions. Thanks!

valora-inc/react-native-tcp#5

@codecov
Copy link

codecov bot commented Mar 17, 2020

Codecov Report

Merging #3099 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3099   +/-   ##
=======================================
  Coverage   74.91%   74.91%           
=======================================
  Files         593      593           
  Lines       14849    14849           
  Branches     1485     1485           
=======================================
  Hits        11124    11124           
  Misses       3399     3399           
  Partials      326      326           
Flag Coverage Δ
#mobile 74.24% <ø> (ø)
#web 75.79% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d91b473...cf039b9. Read the comment docs.

@cmcewen cmcewen added the automerge Have PR merge automatically when checks pass label Mar 17, 2020
@jeanregisser jeanregisser changed the title use async support in react-native-tcp for connectIPC [Wallet] Use async support in react-native-tcp for connectIPC on Android Mar 18, 2020
Copy link
Contributor

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

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

Awesome 🚀👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants