This package has been deprecated

Author message:

this package has been deprecated

native-connected

0.0.4 • Public • Published

Please read Integration with Existing Apps for React Native.

Basic idea: we will be working on React Native (RN) components and native teams will implement our components using native methods. We should be moving forward to the completely RN application and native code should implement only really platform specific requirements (with unified JS interface).

Things to be solved:

  • production bundle distribution for iOS and Android (private NPM?)
  • ...

Installation

yarn add native-connected
yarn outdated
yarn upgrade native-connected
yarn info native-connected
yarn postinstall (?)

Available components:

  1. native-connected - basic example PoC component
  2. ...

Example usage

Swift

import React

final class ReactNativeViewController {

  override func loadView() {
    self.view = RCTRootView(
      bundleURL: URL(fileURLWithPath: "path to the /bundle/index.ios.js"),
      moduleName: "native-connected",
      initialProperties: nil,
      launchOptions: nil
    )
  }

}

Readme

Keywords

none

Package Sidebar

Install

npm i native-connected

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • martin.zlamal