bugfix
This commit is contained in:
parent
05e671a146
commit
97dc2adffb
@ -55,7 +55,8 @@ npm install --save react-native-update@3.x
|
||||
1. 在XCode中的Project Navigator里,右键点击`Libraries` ➜ `Add Files to [你的工程名]`
|
||||
2. 进入`node_modules` ➜ `react-native-update` ➜ `ios 并选中 `RCTHotUpdate.xcodeproj`
|
||||
3. 在XCode中的project navigator里,选中你的工程,在 `Build Phases` ➜ `Link Binary With Libraries` 中添加 `libRCTHotUpdate.a`
|
||||
4. Run your project (`Cmd+R`)
|
||||
4.
|
||||
5. Run your project (`Cmd+R`)
|
||||
|
||||
#### Android
|
||||
|
||||
|
@ -6,7 +6,11 @@
|
||||
// Copyright © 2016 erica. All rights reserved.
|
||||
//
|
||||
|
||||
#if __has_include(<React/RCTBridge.h>)
|
||||
#import <React/RCTBridgeModule.h>
|
||||
#else
|
||||
#import "RCTBridgeModule.h"
|
||||
#endif
|
||||
|
||||
@interface RCTHotUpdate : NSObject<RCTBridgeModule>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.3",
|
||||
"description": "react-native hot update",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user