I can't achieve to display images from asset in live activities & dynamic island widgets.
It's work very well with icon but not with image from asset or from UIImage (via Data).
This works:
Image(systemName: "timer")
This NOT work:
Image("pizza")
My App asset looks like:
I copied asset in the extension:
The live activity notification is not created when I add the Image from asset. Any help would be appreciated!
What I tried & not working:
I found the issue, Image need to be in a small resolution to be displayed in your live activity/dynamic island.
Data must be lower or equal than 4kb, here is the official Apple doc:
The updated dynamic data for both ActivityKit updates and ActivityKit push notifications can’t exceed 4KB in size.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With