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

Create React Native implementation #18

Open
andrewxhill opened this issue Nov 20, 2019 · 0 comments
Open

Create React Native implementation #18

andrewxhill opened this issue Nov 20, 2019 · 0 comments

Comments

@andrewxhill
Copy link
Member

While it seems obvious that you could just pull the iOS and Android versions together into some wrapper, I was wondering if a second way might be better. That would be,

  1. Create JS grpc service wrapper. Using something like,
cd ipfs-lite
protoc -I ./ ./ipfs_lite.proto --js_out=import_style=commonjs,binary:./
  1. Create very basic native layers for iOS and Android that allow the user to toggle the service on and off (plus set the port number + log level) and expose that method as a RN method.

  2. Combine the two so you have a way to turn your Service on and then the JS native methods to call that service.

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

No branches or pull requests

1 participant