# lefit-react-native-bridge

> LKReactNativeBridge

Latest version **1.0.7** (published 2018-12-06) · MIT license · 5 weekly downloads

## Install

```sh
npm install lefit-react-native-bridge
pnpm add lefit-react-native-bridge
yarn add lefit-react-native-bridge
bun add lefit-react-native-bridge
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2018-12-06 |
| First published | 2018-09-19 |
| Weekly downloads | 5 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lefit |
| Maintainers | yanglihua |
| Keywords | lefit, LKReactNativeBridge, lkrnb |

## Links

- npm: https://www.npmjs.com/package/lefit-react-native-bridge
- Repository: https://gitlab.leoao-inc.com:Lefit_iOS_Organization/LKReactNativeBridge
- npm.io page: https://npm.io/package/lefit-react-native-bridge

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2018-12-06
- 1.0.6 — 2018-12-06
- 1.0.5 — 2018-11-28
- 1.0.4 — 2018-09-19
- 1.0.0 — 2018-09-19

## README

# lefit-react-native-bridge

support iOS only

supports react-native >= 0.50.0

## Add it to your project

You can try linking the project automatically:

`$ react-native link`

or do it manually as described below:

### iOS

- Run `npm install lefit-react-native-bridge --save`

Then either:

##### Cocoapods
add the following line to your Podfile:

```sh
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'DevSupport',
'RCTText',
'RCTImage',
'RCTNetwork',
'RCTActionSheet',
'RCTLinkingIOS',
'ART',
'RCTAnimation',
'RCTWebSocket',
'jschelpers_legacy',
'cxxreact_legacy',
'BatchedBridge'
]

pod "yoga", :path => '../node_modules/react-native/ReactCommon/yoga'

### 乐刻组件
pod 'LKMapThirdSDK'
pod 'LKReactNativeBridge/SourceCode', :path => '../node_modules/lefit-react-native-bridge'
```

or:

##### Manually

1. Open your project in XCode, right click on `Libraries` and click `Add
Files to "Your Project Name"` Look under `node_modules/lefit-react-native-bridge` and add `LKReactNativeBridge.xcodeproj`. 
2. Add `libLKReactNativeBridge.a` to `Build Phases -> Link Binary With Libraries`
3. Click on `LKReactNativeBridge.xcodeproj` in `Libraries` and go the `Build
Settings` tab. Double click the text to the right of `Header Search
Paths` and verify that it has `$(SRCROOT)/../react-native/React` - if it
isn't, then add it. This is so XCode is able to find the headers that
the `LKReactNativeBridge` source files are referring to by pointing to the
header files installed within the `react-native` `node_modules`
directory.

---
_Source: https://npm.io/package/lefit-react-native-bridge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
