@Engineer just following up on this
Post
Replies
Boosts
Views
Activity
@DTS Engineer this doesn't really help us know if the app is launching into the background though
Feedback FB15123483 has been created, thanks
How are you making that work? In mine it just always returns .light
For anyone experiencing the issue where the image is showing up on the Lock Screen, but adding it to the island blows up the whole activity, I figured this out. There was the following log in Console.app:
fault 13:19:22.889771-0500 WidgetExtension Widget archival failed due to image being too large [22] - (320, 320).
Resizing the UIImage before passing to Image fixed the problem. I just guessed and went for 84px wide.
This error should really show up in Xcode itself and the required size should be specified in the documentation (I just guessed at 84px which seems to work). Additionally, .frame() on the SwiftUI Image type should be able to accomplish the same thing.