Hoe werken Push notifications voor bijv. Whatsapp
Donny Wie weet
04/05/2014 13:49:29Hoi allemaal,
Ik ben bezig met een site en 2 vrienden maken de apps voor android en iPhone. Nu vraag ik me alleen het volgende af:
Ik stuur Aar (eerste naam die in me op kwam :P ) een berichtje op WhatsApp. Ik krijg een push notification:
Aar zegt: Hoi Donny.
Dat is wat er direct staat en mijn scherm geeft licht.
Hoe werkt dit precies? Is dit een continue verbinding met de server die aangemaakt word? Worden deze berichten gepushed? Wie kan mij er kort en krachtig wat over uitleggen?
Groeten Donny
Ik ben bezig met een site en 2 vrienden maken de apps voor android en iPhone. Nu vraag ik me alleen het volgende af:
Ik stuur Aar (eerste naam die in me op kwam :P ) een berichtje op WhatsApp. Ik krijg een push notification:
Aar zegt: Hoi Donny.
Dat is wat er direct staat en mijn scherm geeft licht.
Hoe werkt dit precies? Is dit een continue verbinding met de server die aangemaakt word? Worden deze berichten gepushed? Wie kan mij er kort en krachtig wat over uitleggen?
Groeten Donny
PHP hulp
16/05/2024 21:52:19Donny Wie weet
06/05/2014 09:35:03Joep de Jong
06/05/2014 09:45:53Google -> StackOverflow
Quote:
Apple Push Notification service (APNs) propagates push notifications to devices having applications registered to receive those notifications. Each device establishes an accredited and encrypted IP connection with the service and receives notifications over this persistent connection. Providers connect with APNs through a persistent and secure channel while monitoring incoming data intended for their client applications. When new data for an application arrives, the provider prepares and sends a notification through the channel to APNs, which pushes the notification to the target device..