Closed hyouuu closed 2 months ago
Actually just found this regarding code execution should be dealt by a Notification Service Extension: https://developer.apple.com/forums/thread/745188 any ideas if that's actually the right approach and we shouldn't add content-available
to alerts?
YEs, reading that content-available only works for background pushes
Currently you can either send an alert or send a background notification, but often times apps want to be waken up while showing an alert so they can do background data fetch etc, so why not adding the option (surprised that nobody raised this question before)