mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
fix #67
This commit is contained in:
parent
a2c311730d
commit
2211e68e68
@ -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