Dear sir,
I used the below function to print the notification message
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any]) {
print(userInfo)
}
I need to parse the userInfo to be String instead of hashing it.
Regards
syedfa
October 17, 2017, 4:59pm
2
@samerhameed Thanks very much for your question!
I think the problem is that the method isn’t being called. Have you checked to see if it’s being called at all when your app runs? We actually have a tutorial on Push Notifications that you should check out if you’re having trouble:
Push Notifications
I hope this helps!
All the best!
1 Like
Thank you sir for your help and support. I read the article and it works perfectly for my case
Samer
syedfa
October 22, 2017, 2:45am
4
@samerhameed Not a problem! I’m happy to have helped
All the best!
system
Closed
April 1, 2018, 11:02am
5
This topic was automatically closed after 166 days. New replies are no longer allowed.