Posts

Showing posts with the label module

React-Native API Module C++

I would like to create a bridge with a module C++ for react-native On the documentation of React native we have a tutorial for Swift and Objective-C but don't with C++ Someone know how we do that ? Link React-native Module : https://facebook.github.io/react-native/docs/native-modules-ios.html

React Native Android Module

I am trying to implement a React Native Android Module for a Honeywell CT50 device with no prior experience. The module will listen for scans from the in-build laser scanner on the device. I have gone through the official walkthrough on the React Native site and I have managed to setup a basic module that I can receive a simple value in a RN component. My code looks like this so far: HoneywellCT50 Package: public class HoneywellCT50Package implements ReactPackage { @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { List<NativeModule> modules = new ArrayList<>(); modules.add(new HoneywellCT50Module(reactContext)); return modules; } @Override public List<Class<? extends JavaScriptModule>> createJSModules() { return Collections.emptyList(); } @Override public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) ...