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

Support React Native #7

Closed
14 tasks
jjrv opened this issue Sep 8, 2015 · 4 comments
Closed
14 tasks

Support React Native #7

jjrv opened this issue Sep 8, 2015 · 4 comments

Comments

@jjrv
Copy link
Member

jjrv commented Sep 8, 2015

An Objective C bridge (and later Java, when React Native supports Android) is needed to communicate between C++ and React Native, or a similar technology such as NativeScript or Cordova. This would allow writing heavy duty algorithms in C++ while still using JavaScript for the UI. This is important especially on iOS where the JavaScript engine available to apps doesn't support JIT. The tasks are:

  • Set up the project with an Objective C or Swift environment using React Native.
  • C++ to Objective C bridge, using jxcore-cordova as a reference.
  • JavaScript to Objective C bridge.
  • Bind the two handling static method calls and...
  • Numeric argument and return types
  • Pointers wrapped as objects
  • Constructors
  • Destructors
  • Non-static methods
  • String argument and return types
  • Getters and setters
  • Callbacks
  • Value types
  • Vectors
@jjrv jjrv added this to the 0.3.0 milestone Sep 29, 2015
@jjrv jjrv added the Todo label Sep 30, 2015
@jjrv
Copy link
Member Author

jjrv commented Oct 20, 2016

This belongs in projects now.

@jjrv jjrv closed this as completed Oct 20, 2016
@jjrv jjrv removed this from the 2.0.0 milestone Oct 20, 2016
@jjrv jjrv removed the Todo label Oct 20, 2016
@timfish
Copy link

timfish commented May 21, 2017

It would be great to have support for Cordova even when not using React Native.

@timfish
Copy link

timfish commented May 24, 2017

It looks like cordova-plugin-cpp-bridge does most of what's required.

@jjrv
Copy link
Member Author

jjrv commented May 24, 2017

Thanks, that's a nice find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants