On Jun 9, 2014, at 8:26 AM, CouchbaseLover <[email protected]> wrote:

> Ok let's say we expand the way "CouchChat" works and implement Apple's 
> Notifications but without the use of talking to the APNS server. Instead we 
> check the gateway's _changes feed and use that instead to make a 
> "UILocalNotfication" instead of a "Push Notification" that needs to talk to 
> the APNS server.

Oh, I see. This will only work while your app is active/visible. The main 
advantage of push notifications is that they can be delivered even when your 
app isn't running. Push notifications also don't require keeping an open socket 
to the server, so they're a lot better for battery life. (They're triggered 
from a sideband message over regular GSM, kind of like an invisible SMS 
message, so they don't require keeping the faster and more power-hungry 
3G/LTE/4G/WiFi radios active.)

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/9319EE95-901A-4E29-824A-B731C2DB44C0%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to