forked from github/jpush-phonegap-plugin
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(){
|
JPushPlugin.prototype.isPlatformIOS = function(){
|
||||||
return device.platform == "iPhone" || device.platform == "iPad" || device.platform == "iPod touch" || device.platform == "iOS"
|
return device.platform == "iPhone" || device.platform == "iPad" || device.platform == "iPod touch" || device.platform == "iOS"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user