Yeah sure, il try my best :) First off, i hope i am not wasting our times if this has already been answered, but this is the closest i got to a similar topic here: https://groups.google.com/forum/#!topic/mobile-couchbase/q0fbOLvKkt8
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html -> APNS Example 1. 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. We create the "UILocalNotification" and populate the message/badge/alert reading the gateway changes? (does not sound right). Example 2. We create a new document called "TNotification" that has a type: TNotification and belongs to the Chat Channel, with the properties that makes a UILocalNotfication (message/badge/alert etc). So everyone in the Channel will receive the TNotification document that when received we create a UILocalNotfication something like this. 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];} Regards CouchbaseLover Den måndagen den 9:e juni 2014 kl. 16:50:39 UTC+2 skrev Jens Alfke: > > > On Jun 9, 2014, at 3:12 AM, CouchbaseLover <[email protected] > <javascript:>> wrote: > > "Apple Push Notification Service with UILocalNotfication + Sync Gateway > instead" > What do you think about this idea? > > > I don’t know what that would be. Can you describe it in more detail? > > —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/91bbc066-8365-4bfd-b0a0-97b47cb29a6f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
