0.0.4 • Published 6 years ago

native-connected v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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
    )
  }

}
0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago