mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-20 20:22:50 +08:00
add new JPushPlugin ,else plugin not loaded
This commit is contained in:
parent
bce9508ec5
commit
734077536b
@ -1,4 +1,7 @@
|
||||
|
||||
var JPushPlugin = function(){
|
||||
};
|
||||
|
||||
JPushPlugin.prototype.isPlatformIOS = function(){
|
||||
return device.platform == "iPhone" || device.platform == "iPad" || device.platform == "iPod touch" || device.platform == "iOS"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user