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

demos: update deps #15

Merged
merged 5 commits into from
Dec 20, 2022
Merged

demos: update deps #15

merged 5 commits into from
Dec 20, 2022

Conversation

kaloudis
Copy link
Contributor

@kaloudis kaloudis commented Dec 2, 2022

This PR updates the demos to leveragelnc-rn from npm, rather than from the project root.

TODO

  • update Podfiles
  • update iOS project configs
  • add install-lnc command to npm scripts
  • add install instructions for demos to README

@kaloudis kaloudis requested a review from jamaljsr December 14, 2022 16:07
Copy link
Member

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

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

Tested the connect-demo with no issues.

For the multi-connect-demo, I couldn't get it working. On iOS, it just displayed the loading icon forever. On Android, I received the error below. I'm not sure if there's something wrong with the demo app or an issue on my end. I followed the same steps for both demos.

image

@kaloudis
Copy link
Contributor Author

@jamaljsr I added a new commit that will strictly check that both nodes are connecting and prevent that race condition before calling the RPC, as you experienced in the Android simulator above.

As for iOS, I've been noticing it hanging in the simulator quite often and it's pushed me to deving on my iPhone X instead. Might have to address that separately.

Copy link
Member

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

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

tACK LGTM 💪

That seems to have done the trick. It worked on the first attempt for both platforms now.

@kaloudis kaloudis merged commit adfb755 into main Dec 20, 2022
@kaloudis kaloudis deleted the demos-update-deps branch December 20, 2022 17:18
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