Forum Archive

Work with Apple push notification service

armobird

Hi , I'm new to Pythonista and I absolutely like the apps.

Just wondering is there a way to listen to APNS and pop up a notification?

filippocld223

'console.alert' for popups and 'notification.schedule' for notifications

omz

No, that's not possible. You can only trigger local notifications (timers, basically) with the notification module

armobird

Thanks OMZ, probably I will think of some workaround like actively sending request to a server and check the return value. If particular value returned, use local notification to pop.