Push notification not register to the app on iOS 13

前端 未结 4 1721
别跟我提以往
别跟我提以往 2021-02-19 03:32

I build my app and I put a breakpoint in didRegisterForRemoteNotificationsWithDeviceToken but it\'s not triggered. It works fine on other versions of iOS.

4条回答
  •  粉色の甜心
    2021-02-19 04:29

    If the didRegisterForRemoteNotificationsWithDeviceToken is not triggering at all, try this.

    I tried a lot to fix this issue with my wifi network, but it didnt fixed. So I changed my network to the cellular data and the didRegisterForRemoteNotificationsWithDeviceToken started triggering again

    Also, if you used your internet connection in the MAC to share using USB. Turn it off & connect your IPhone with a normal wifi or mobile data.

提交回复
热议问题