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)?