Hi, Le mercredi 16 avril 2014 17:43:51 UTC+1, J. Chris Anderson a écrit : > > > > On Wednesday, April 16, 2014 6:14:14 AM UTC-7, Bart Arribe wrote: >> >> >> 3. I tried a really simple example doing a p2p replication. It's working >> quite well when I provide both IP addresses. When I provide the IP address >> of my device A to my device B, the device A can make any change and the >> data is replicated well but it's not working in the other way, so from the >> device B to A. >> >> ... > >> >> 3. Any clues why is acting like that and how to do it properly? >> > > This looks like an Android issue, but it could be with your LAN -- > sometimes reachability can be tricky. Jens is correct that the only IP > address that needs to be published is the hub in the hub and spoke > arrangement. > > >> >> 3. Using phonegap, if i want to discover the other peers, how would you >> do that? >> I was thinking to make a plugin doing that in native language on Android >> and iOS, using for instance Bonjour service. >> >> > For PhoneGap you probably want to use a plugin like > https://github.com/jarnoh/cordova-dnssd or > https://github.com/rossmartin/BonjourPlugin >
Do you know if there is the equivalent for Android device? Or how would you do it? Thanks Bart > > >> Thank you in advance for your help, >> >> Bart >> > -- 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/7e7f6e2a-9b50-4862-a66c-69e207dbac51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
