UserNotifications App Icon Not Loading In Notification iOS 14

948 Views Asked by At

So I've implemented notifications into my app, however I'm not sure if this is a bug or not, but the app icon that displays with the notification doesn't display on my iPhone, it instead shows the default icon! The weird thing is that it works on the simulator, but yeah! Is this a bug? Here's what they look like:

image1 of simulator icon workingimage2 of iPhone icon not showingimage showing I have all icons

1

There are 1 best solutions below

6
On BEST ANSWER

It's probably occurring because of the caching of app icons.

Firstly, try restarting the device and the issue must be resolved, I know this doesn't feel like a real solution but, it works this occurs due to weird iOS bug in some versions.

If the issue still persists you can

  1. Uninstall the app.
  2. Restart the device.
  3. Menu - Product - Clean Build Folder
  4. Clear Derived Data.
  5. Then run again and the issue should be fixed.