1.0.7 • Published 7 years ago

lefit-react-native-bridge v1.0.7

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
7 years ago

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:

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.
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

2.4.5

7 years ago

2.4.3

7 years ago

2.4.2

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago