I have created a share extension for my app which supports accepting an image.
However the app do not appear in the "Share with App" action of shortcuts. It only shows "Health" and "Reminders" which are default apple apps.
What I found though is that if I open some other app like Photos and share an image from it, then go to end of app's list and click more. And in the list if I toggle my app off and on again. And then come back to shourtcuts app, the app then appears.
Step 1: Open share sheet, click more
Step 2: Toggle the app off and on again and save.
And then it switching to shortcuts app, it appear now.
I am unable to find a way on how to make this app's share extension support the "Share with app" action of shortcuts by default. This looks like a bug. I did not find any proper documentation as well for this.
Can anyone point me to correct way / resource to add my app as supported app here out of the box.
Minimal reproducible example: ZIP file of xcode project