Browse Source

修改bug

zhangzy 8 years ago
parent
commit
d983e320e6

+ 1 - 1
README.md

@@ -86,7 +86,7 @@ ios需要先制作推送证书,具体教程请自行百度。
 
 ```oc
 ...
-#import "MIPushModule.h"
+#import "RCTMIPushModule.h"
 #import "RCTPushNotificationManager.h"
 ...
 

BIN
ios/RCTMIPushModule/RCTMIPushModule.xcodeproj/project.xcworkspace/xcuserdata/zhangzy.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 2
ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.h

@@ -9,8 +9,8 @@
 #import <Foundation/Foundation.h>
 #import <UIKit/UIKit.h>
 #import <UserNotifications/UserNotifications.h>
-#import <React/RCTBridgeModule.h>
-#import <React/RCTPushNotificationManager.h>
+#import "RCTBridgeModule.h"
+#import "RCTPushNotificationManager.h"
 #import "MiPushSDK.h"
 
 @interface RCTMIPushModule : NSObject <RCTBridgeModule, MiPushSDKDelegate>

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "react-native-xmpush",
-  "version": "0.2.0",
+  "version": "0.2.1",
   "description": "集成小米推送",
   "main": "index.js",
   "scripts": {