2013-07-23 47 views

回答

0

我發現這個問題。我沒有按照我應該使用的插件;而不是寫這個:

pushNotification.register(pg_success_handler, pg_error_handler, { 
    "senderID": "<sender id>", 
    "ecb": on_pg_gcm_notification 
}); 

我應該寫這樣的:

pushNotification.register(pg_success_handler, pg_error_handler, { 
    "senderID": "<sender id>", 
    "ecb": "on_pg_gcm_notification" 
}); 

報名工作現在:)