pushNotification.registerDevice({ projectid: "xxxx", appid: "?" },
function (status) {
var pushToken = status;
console.warn('push token: ' + pushToken);
},
function (status) {
console.warn(JSON.stringify(['failed to register ', status]));
}
);
什么地方放个问号(如何获取appid)?