mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-21 04:42:53 +08:00
Merge remote-tracking branch 'jpush/master' into test
This commit is contained in:
commit
138fde1587
@ -28,6 +28,9 @@ l## JPush PhoneGap Plugin ##
|
||||
|
||||
<meta-data android:name="JPUSH_APPKEY" android:value="your appkey"/>
|
||||
|
||||
4. 打开`$JPUSH_PLUGIN_DIR/src/ios/PushConfig.plist`文件将文件中的`7d431e42dfa6a6d693ac2d04`替换为在Portal上注册该应用的的Key,例如(9fed5bcb7b9b87413678c407)
|
||||
|
||||
|
||||
5. 在`$JPUSH_PLUGIN_DIR/src/android/JPushPlugin.java` 文件`import your.package.name.R`替换为在Portal上注册该应用的包名,例如(com.thi.pushtest)
|
||||
|
||||
|
||||
|
@ -20,8 +20,8 @@ static char launchNotificationKey;
|
||||
Method origin;
|
||||
Method swizzle;
|
||||
|
||||
origin=class_getClassMethod([self class],@selector(init));
|
||||
swizzle=class_getClassMethod([self class], @selector(init_plus));
|
||||
origin=class_getInstanceMethod([self class],@selector(init));
|
||||
swizzle=class_getInstanceMethod([self class], @selector(init_plus));
|
||||
method_exchangeImplementations(origin, swizzle);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user