简体   繁体   中英

Wrong app icon on push notification badge iphone

I have implemented push notifications for my iPhone application. Everything is working fine. Only problem is when I receive notification during app is in background the iOS notification shows wrong icon for the notification. Like if notification came for App A it shows the icon of App B in notification badge.

What can cause this? Is it certificates problem or what? Any idea?

如果你有一些像“icon.png”的图像名称,它将显示在推送通知中

Few more thing can cause this issue,

If you have used same push profile for two different project. Than also this will happen.

Moreover if you have specified Small-Icon.png in you .plist file than that would be used as a push notification icon in notification screen.

Please make sure this things in your projects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM