native-connected

``` yarn add native-connected ```

this package has been deprecated
Last updated 3 years ago by mrtnzlml .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install native-connected 
SYNC missed versions from official npm registry.

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

}

Current Tags

  • 0.0.4                                ...           latest (3 years ago)

5 Versions

  • 0.0.4 [deprecated]           ...           3 years ago
  • 0.0.3 [deprecated]           ...           3 years ago
  • 0.0.2 [deprecated]           ...           3 years ago
  • 0.0.1 [deprecated]           ...           3 years ago
  • 0.0.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 3
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |