"Apple Push Notification Service with UILocalNotfication + Sync Gateway instead"What do you think about this idea?
1 2 3 4 5 6 7 8 | - (IBAction)createTNotification:(UIButton *)sender { UILocalNotification *localNotification = [[UILocalNotification alloc] init]; localNotification.fireDate = [CBLJSON dateWithJSONObject: or something localNotification.alertBody = TNotfication[message] or something localNotification.soundName = UILocalNotificationDefaultSoundName; localNotification.applicationIconBadgeNumber = 1; [[UIApplication sharedApplication] scheduleLocalNotification:localNotification]; } |
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.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3f089edf-73a9-4efc-ab33-67f224e45c6d%40googlegroups.com.
Great thanksUsing Sync Gateway 1.0.3I will try to go for the option described in the third comment of https://github.com/couchbase/sync_gateway/issues/379Another option would be to query the view directly to the Couchbase Server with https://github.com/couchbase/couchnode ?
I'm still not sure in which use case to use the sync-wrangler approach with channels instead of view queries https://github.com/couchbaselabs/CouchChat-iOS/blob/push/push-notifications/index.js
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/EBuekY1Vizs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCHePvDsrb7H_Us_j3TYoPT%2B9CxcE4jiMajEajW5-CbuAQ%40mail.gmail.com.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CAJtJ5_4Hquz8zsxxdxQBU%3DAJJR5t-%2Bg0Hsb7d4rdwtb-STf4uA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/41406555-f4fa-4a7c-a361-fefa2100b863%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B1B930.1BA2C%25cberlin%40christophberlin.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B1BC92.1BA51%25cberlin%40christophberlin.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B5D18B.1C20A%25cberlin%40christophberlin.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCH-jpS%2B1C-iNjz6Gk6NjKXhG_y5WVvVqtDCAD%2BnywyqeA%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to mobile-couchb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCGc3sTCQBoUtkzCgY6NkdnKWJHJrFVbDuW0n9e1xJCArQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B1B930.1BA2C%25cberlin%40christophberlin.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/EBuekY1Vizs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCEE8mZ0TAdM2hG4pQnNHG7yaAA6ZM4ySeypdHuri0LarQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B1BC92.1BA51%25cberlin%40christophberlin.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/EBuekY1Vizs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCEGH-F4YcE3bEPQoGqHd1craLQsT09vcFSQU91BpjNFMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0B5D18B.1C20A%25cberlin%40christophberlin.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/EBuekY1Vizs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchb...@googlegroups.com.
On Jan 25, 2015, at 8:33 AM, Frederic Yesid Peña Sánchez <freder...@gmail.com> wrote:But no idea how to process _changes feed from PHP side, as no idea of GO language.