mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-11-04 15:23:11 +08:00 
			
		
		
		
	bugfix
This commit is contained in:
		@@ -55,7 +55,8 @@ npm install --save react-native-update@3.x
 | 
				
			|||||||
1. 在XCode中的Project Navigator里,右键点击`Libraries` ➜ `Add Files to [你的工程名]`
 | 
					1. 在XCode中的Project Navigator里,右键点击`Libraries` ➜ `Add Files to [你的工程名]`
 | 
				
			||||||
2. 进入`node_modules` ➜ `react-native-update` ➜ `ios 并选中 `RCTHotUpdate.xcodeproj`
 | 
					2. 进入`node_modules` ➜ `react-native-update` ➜ `ios 并选中 `RCTHotUpdate.xcodeproj`
 | 
				
			||||||
3. 在XCode中的project navigator里,选中你的工程,在 `Build Phases` ➜ `Link Binary With Libraries` 中添加 `libRCTHotUpdate.a`
 | 
					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
 | 
					#### Android
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,11 @@
 | 
				
			|||||||
//  Copyright © 2016 erica. All rights reserved.
 | 
					//  Copyright © 2016 erica. All rights reserved.
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if __has_include(<React/RCTBridge.h>)
 | 
				
			||||||
 | 
					#import <React/RCTBridgeModule.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
#import "RCTBridgeModule.h"
 | 
					#import "RCTBridgeModule.h"
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@interface RCTHotUpdate : NSObject<RCTBridgeModule>
 | 
					@interface RCTHotUpdate : NSObject<RCTBridgeModule>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "react-native-update",
 | 
					  "name": "react-native-update",
 | 
				
			||||||
  "version": "4.0.0",
 | 
					  "version": "4.0.3",
 | 
				
			||||||
  "description": "react-native hot update",
 | 
					  "description": "react-native hot update",
 | 
				
			||||||
  "main": "lib/index.js",
 | 
					  "main": "lib/index.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user