publicclassMyReactPackageimplementsReactPackage{ @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext){ return Arrays.<NativeModule>asList( new MyIntentModule(reactContext)
); }
@Override public List<Class<? extends JavaScriptModule>> createJSModules() { return Collections.emptyList(); }
@Override public List<ViewManager> createViewManagers(ReactApplicationContext reactContext){ return Collections.emptyList();