今天在項目中集成了極光推送,一切都配置完畢,把程序運行起來的時候,報了下面的錯誤:
Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed? or there is no APNs register code? Please refer to JPush docs.”
我上網查了一下,網上有很多答案,但是我明明都配置好了的,網上的答案有一個給我了啟發:
網絡問題,當我重啟了網絡之后,就好了,所以,同學們,如果你也遇到這個問題的話,記得檢查你的
網絡是否暢通,不要多走彎路哦
李洪強
2017年6月9日 北京