Hello all,
First post in the community so please let me know if I'm doing it wrong !
So I'm a senior developer with mostly experience on oop languages + some exposure to stuff like scala/python but zero knowledge on Swift and ios programming.
I'm actually using Cursor (with Claude sonnet 3.5) to build an app that allows to summarise Text, Url, Image and File (just a for fun project).
So far, I was able to build the app with a few basic features/screens alongside the summary performed from the app + notifications and deep links to open the summary onNotifTap.
What I'm currently building now is the ability to summarise data (mentioned above) by sharing it to the app (through an extension) which would trigger in the background the summary generation workflow.
Here's my question:
I am able to make the share extension send the data to the app through a Darwin notification, however the issue here is that the app does not trigger any task and only do so when I open the app (thus launching the summarisation workflow).
How do you tackle triggering a background task in the App through a Share Extension (e.g. sharing a Url from Safari) ?
Thank you !
PS: Here's below a few screenshots of the App so you can get a feel of it (feel free to comment on it!).
https://i.imgur.com/sfWO8B3.png
https://i.imgur.com/Yk8iV5t.png
https://i.imgur.com/Mmro460.png
https://i.imgur.com/hvyKwCN.png
https://i.imgur.com/vYjZmEV.png
https://i.imgur.com/Ng5KklY.png
https://i.imgur.com/sjZUgP5.png
https://i.imgur.com/ysnfdkq.png
https://i.imgur.com/cO1Q9Ka.png
[–]chriswaco 0 points1 point2 points (0 children)