On Mar 2, 2014, at 6:25 PM, archit agarwal <[email protected]> wrote:

> Q1 Do you happen to have a suggestion on the push notification system I can 
> use for messaging. 

You mean, a server-side component that talks to the Apple Push Notification 
System? Mostly you just need a simple task that watches the gateway's _changes 
feed and sends messages to APNS. Chris Anderson put one of these together a 
while ago as an example; it was pretty simple. Chris, can you point to the code 
for this?

> Q2 when the user actually opens the app after push notification I assume it 
> would take a few seconds to get these messages. Is there a way to reduce this 
> lag or delay? I know xmpp is pretty fast but it's a whole new implementation. 
> Can we do something to get similar performance? 

In iOS 7 there's a push-notification flag that causes the app to invisibly 
launch/wake up in the background. It will then presumably start its replication 
and download the new documents.

> Q3. The other bit is when a message arrives from a new user who's information 
> isn't available on the local DB. There would also be a lag in pulling this 
> user info. Any suggestions for to make this better? 

How are you pulling the user info?

--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/8502D89A-2E5E-43EA-8D80-AC049975ABEE%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to