mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-03-17 06:21:05 +08:00
fix #67
This commit is contained in:
parent
a2c311730d
commit
2211e68e68
@ -20,8 +20,8 @@ static char launchNotificationKey;
|
|||||||
Method origin;
|
Method origin;
|
||||||
Method swizzle;
|
Method swizzle;
|
||||||
|
|
||||||
origin=class_getClassMethod([self class],@selector(init));
|
origin=class_getInstanceMethod([self class],@selector(init));
|
||||||
swizzle=class_getClassMethod([self class], @selector(init_plus));
|
swizzle=class_getInstanceMethod([self class], @selector(init_plus));
|
||||||
method_exchangeImplementations(origin, swizzle);
|
method_exchangeImplementations(origin, swizzle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user