Not receiving any push notification in iPhone

后端 未结 8 1490
闹比i
闹比i 2020-12-08 10:49

I have made a sample PushTest app for Push Notification using this tutorial.

And using above tutorial I got the message that \'PushTest\' would like to send you Pus

相关标签:
8条回答
  • 2020-12-08 11:32

    Make sure you are using push notification enabled provisioning profile. and then check if you are sending token to server.

    0 讨论(0)
  • 2020-12-08 11:36

    I was not getting anything in:

    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any])
    

    But my compiler stopped on breakpoint in

    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void)
    
    0 讨论(0)
提交回复
热议问题