Why push notification alerts dialog so my result?

I want to ask why my project which push notifications do not work as usual. the output form when I send message alerts to a user device . This reference me that I follow

i am facing same problem if you fixed it please tell me solution. Thank you