mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-01-28 00:00:03 +08:00
修改统计功能的参数
This commit is contained in:
@@ -18,15 +18,15 @@ JPushPlugin.prototype.call_native = function(name, args, callback){
|
||||
}
|
||||
//public plugin function
|
||||
|
||||
JPushPlugin.prototype.startLogPageView = function(data){
|
||||
JPushPlugin.prototype.startLogPageView = function(pageName){
|
||||
if(this.isPlatformIOS()){
|
||||
this.call_native( "startLogPageView",[data],null);
|
||||
this.call_native( "startLogPageView",[pageName],null);
|
||||
}
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.stopLogPageView = function(data){
|
||||
JPushPlugin.prototype.stopLogPageView = function(pageName){
|
||||
if(this.isPlatformIOS()){
|
||||
this.call_native( "stopLogPageView",[data],null);
|
||||
this.call_native( "stopLogPageView",[pageName],null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user