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

Provide React Native Example #1327

Closed
fryorcraken opened this issue May 4, 2023 · 2 comments
Closed

Provide React Native Example #1327

fryorcraken opened this issue May 4, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@fryorcraken
Copy link
Collaborator

fryorcraken commented May 4, 2023

Problem

js-waku is designed to work in the Browser.
For mobile environment, include React Native, we recommend using go-waku c-bindings:

However, several Waku users have reported that they prefer to use the same JavaScript SDK for both web and mobile (React Native).

Issues previous reported #710 should now be fixed as most/all polyfills have been removed from js-waku.

Mobile and Browser are similar in that they are resource restricted.
However, they are differences, e.g., mobile should use TCP and WebSocket.

Proposed Solutions

Write a React Native example that demonstrate how to use js-waku @waku/react in React Native.

The output should be a working React Native App that uses light client protocols and tcp connection.

Notes

There may be obstacles around DNS discovery. We can add more features at a later stage such as encryption.

@fryorcraken
Copy link
Collaborator Author

Good to prioritize once #1326 and #1309 is done so that developers use tcp in React Native and are able to connect to more nodes from the network.

@fryorcraken fryorcraken added the documentation Improvements or additions to documentation label May 5, 2023
@fryorcraken
Copy link
Collaborator Author

Tracked in waku-org/bounties#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

No branches or pull requests

1 participant