Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ios Push notification : Null would like to send you notifications

I have a problem with notification push Alert. It shows me "null" instead Appname. There is a screen shoot :

enter image description here

Do you have any idea why?

My product Module Name are not the same as the product name, is that it may related to the problem? How to fix it?

like image 340
kayla08 Avatar asked Sep 03 '15 15:09

kayla08


2 Answers

Check the "Bundle name" in your info.plist file. The app will use that property first, and then the target name second for your app icon. The name on your icon should be the same name that shows up in the notifications prompt

like image 178
mckeejm Avatar answered Nov 19 '22 05:11

mckeejm


Thank you mckeejm for your answer. When I checked the info.plist, there was "Bundle display name" which was empty. It uses the "Bundle diplay name" at first, When I deleted it, it uses the Bundle name, and it's work now.

like image 6
kayla08 Avatar answered Nov 19 '22 04:11

kayla08