← Back to context

Comment by BillinghamJ

9 years ago

React Native fully supports the use of abitrary native code. You just write a small native module and then port it into the JS side

You can even work with things like Promises etc across native boundaries

Thats true (I've wrapped native code before) but if you use any native code you can’t use expos over the air updates or the qr code scanner. So it wouldn’t solve the parent comments problem, in that scenario, which is actually quite common.

Also, the last time I checked ejecting from expo, which you will need to do to use native code, was a bit of a pain. That was a few weeks ago so maybe they have stream lined the process since then.