Hi everyone,
I’m building a simple sticky notes app that allows users to place a note widget on their home screen. Each widget displays a user-created sticky note.
To let users choose which note to show, I’ve implemented an Intent that presents a list of existing sticky notes. The list is built using IntentItems, and for each item I assign an image to visually represent the note.
Each sticky note can have a different background color and optional image, so I generate a small PNG (150×150, ~30 KB) and include it in the app bundle.
However, when I try to display the selection list, I get the following error:
The action Select sticky note could not run because an unknown error occurred.
If I tap OK and try again, the intent selector appears and works.
Here’s what I’d like to understand:
- What could cause this unknown error when using images in IntentItems?
- Are there known limitations on image size, source, or format for intent item images?
- Can I supply a unique image per sticky note, or must all intent items share a common image?
Any guidance or insights would be greatly appreciated — I haven’t been able to find clear documentation about image handling in IntentItem for widget configuration.
Thanks!