Thanks so much for the quick response!  I installed the latest versions of 
couchbase and the sync gateway from the downloads page today, and the beta 
2 of the CouchbaseLite for android
http://www.couchbase.com/dl/releases/couchbase-lite/android/1.0-beta/couchbase-lite-community-android_1.0-beta2.zip/download

And the "beta2" of the Grocery Sync application here:
https://github.com/couchbaselabs/GrocerySync-Android/tree/1.0-beta2

I'll try with the master branch of the Grocery app now.  

Are there any other "current" demo applications or guides that may help 
with this.  I'm positive couchbase and lite is the technology we need to 
use.

Only other thing to note is I don't build the apk with maven or gradle, I 
just add the jars from the beta2 download to the libs and run from 
intellij.  Also nothing in the error of logcat and the replicator is 
processing messages.

On Saturday, April 19, 2014 6:29:45 PM UTC-6, James Norman wrote:
>
> Hey all, I've really been struggling with the grocery sync application and 
> could use some advice.  We're looking to move our android application to 
> couchbase and use the syncing.  I need to demo/prototype it to sell the 
> technology.
>
> I have the grovery sync app installed and running however I can't get it 
> to sync between devices.
>
> I installed couchbase server and sync gateway on ubuntu 12.  I added the 
> guest user using:
> curl -X PUT localhost:4985/sync_gateway/_user/GUEST --data 
> '{"disabled":false, "admin_channels":["public"]}'
>
> I set the SYNC_URL="http://<myserverip>:4984/sync_gateway"
>
> And left everything else the same.
>
> And started the application in my device and an emulator.  From both 
> devices I can see activity on the server, reading:
> 00:20:42.455918 HTTP:  #533: GET 
> /sync_gateway/_changes?feed=longpoll&limit=50&h
> eartbeat=300000
> 00:20:44.463402 HTTP:  #534: POST /sync_gateway/_revs_diff
> 00:20:45.298603 HTTP:  #535: POST /sync_gateway/_bulk_docs
> 00:20:47.571836 HTTP:  #536: PUT 
> /sync_gateway/_local/e8f6e0ce7e9466bf361ef54f62
> f164e24f4118bc
> 00:20:55.533451 HTTP:  #537: POST /sync_gateway/_revs_diff
> 00:20:55.751152 HTTP:  #538: POST /sync_gateway/_bulk_docs
> 00:20:58.002003 HTTP:  #539: PUT 
> /sync_gateway/_local/e8f6e0ce7e9466bf361ef54f62
>
> etc.  
>
> I can never get changes to sync between devices, or persist between a 
> cache clearing.
>
> Thanks so much for any help, I think couchbase is the technology we need 
> to use but I'm having some troubles prototyping it to sell it to our 
> organization.
>
> Thanks again for the time and any advice.
>
> -james
>

-- 
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/062d8a8a-157d-4fe1-82e0-1d0d0372de84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to