Hi, I'm using native CouchbaseLite for Objective-c for starting a CBLListener with a specific type and name. This is the code:
NSString *url=[NSString stringWithFormat:@"http://%@:59840/%@",ip,bucketNameConfigStr]; CBLManager* manager = [CBLManager sharedInstance]; self.listener = [[CBLListener alloc] initWithManager: manager port: 59840]; self.listener.requiresAuth=NO; [self.listener setBonjourName:url type:serviceType]; NSError *error; BOOL ok = [self.listener start:&error]; if(ok){ NSLog(@"Listener Url: %@", self.listener.URL); } The listener always initialized correctly but not always published the bonjour service. Does anyone have an idea of why this could be happen? Regards -- 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/65b5a4ef-d8eb-4fd4-9736-08ec321e0a00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
