【发布时间】:2025-12-13 17:00:01
【问题描述】:
在离子推送文档中,我找不到捕获用户点击的方法。我尝试了下面的代码,但它不起作用。有什么想法吗?
var push = new Ionic.Push({
"debug": true
});
push.register(function(obj) {
//save to db
});
push.notificationCallback(function(data){
console.log(data); // doesn't work
})
【问题讨论】:
标签: javascript angularjs ionic-framework