acc last edited by
I was wondering if there was a way to access Notification Center (and take a screenshot). Alternatively, I was wondering if there was a way to trigger a Pythonista script each time I get any notification. Effectively, I want to maintain my own history of notifications – if it's possible. Just a screenshot would suffice for now.
I was wondering if there was a way to get creative with Pythonista in tandem with some other app (IFTTT, Workflow, etc.) to achieve this. I realise this is outside the scope of these forums, but... if you have any thoughts, it would be much appreciated!
Thanks very much.
No, apps can only send notifications. They do not know when notifications are received (they are only launched once the user taps one) and they can't get a list of received notifications.
Pythonista could probably work with IFTTT, but only one way - Pythonista could trigger a recipe (probably using the Maker channel - I think you can use it to trigger recipes using a web request) but the other way around isn't possible, because the IFTTT servers can't reach your iOS device or Pythonista from the internet.
It is possible to run Workflow workflows using the URL scheme (the documentation for that is on the Workflow website) and workflows can open URLs too, so they can use Pythonista's URL scheme.
I've a smartwatch (Martian notifier) which receives all notifications, thus it should be possible to intercept them, but perhaps only with a background app working with Bluetooth.
ccc last edited by
@ccc I did know this topic about the Notification Center but what I said was more general about notifications. I suppose it would be possible to intercept them but I really don't know how.
That's not an app though, that's a Bluetooth peripheral. Hands-free devices can accept phone calls too, which apps can't. Hardware devices just have different capabilities because they do different things than apps.
Thanks for your the explanation. I didn't know that the background app connected to the BT device had other capabilities than a normal app.
Webmaster4o last edited by Webmaster4o
@dgelessus Could we pull a Vidyo (which pretended to be an AirPlay server) and pretend to be a Bluetooth device? Can something be connected to itself?
omz last edited by
Can something be connected to itself?
I don't really know, but I seriously doubt that would work (wouldn't someone have done that already?).
I don't know anything about how Bluetooth works, like how devices make themselves discoverable and what kind of info they publish about themselves. And the whole "connecting to itself" thing might be an issue too, no idea if Bluetooth allows that either. Most likely iOS doesn't allow apps enough control over the Bluetooth adapter for any of this to be possible, for network-based things like AirPlay this is less of a problem.
alinajetly last edited by
This post is deleted!