James,

Sorry to hear you've been having such a bumpy experience and have been
getting bitten by our out-of-date docs.  I'm sure we can help you get
things working.

I just re-tested the latest master branch of GrocerySync-Android locally,
and both push/pull replication are working for me.

To establish a "baseline", I would focus on the push replication and simply
verify that docs are getting pushed to the sync gateway:

* Create a doc in grocery sync
* Verify that doc made it to the sync gateway

*My local setup*

*Sync Gateway*

Version: commit e7c0b389 from March 28
Config.json:  https://gist.github.com/tleyden/11147841
Environment: running on localhost (dev workstation)

*Grocery Sync*

Version: Latest master branch - 80443e47
SYNC_URL: "http://10.0.3.2:4984/grocery-sync";;
Environment: Installed to Genymotion emulator (hence the 10.0.3.2 special
"loopback" address)

*Steps to verify*

* Delete GrocerySync from emulator to start fresh
* Delete data/grocery-sync.walrus to start fresh
* Start sync gateway
* Start grocery sync by hitting "Debug" button in Android Studio (version
0.4.3)
* GrocerySync comes up in emulator, and list is currently empty
* Add item "foo" in GrocerySync
* Run "curl localhost:4984/grocery-sync/_all_docs" against sync gateway,
and it returns: https://gist.github.com/tleyden/11148026
* Run "curl
localhost:4984/grocery-sync/8ecc5ef6-8ebf-437c-bf12-5bc4dc344200" and it
returns: https://gist.github.com/tleyden/11148044

The last step verifies that the doc was indeed pushed to sync gateway.

Can you try the same steps with as close to this setup as possible and let
me know the results?  Be sure to point out any "deltas" in case they are
relevant.


On Sunday, April 20, 2014, James Norman <[email protected]> wrote:

> I have the Grocery Sync app running in Android studio with both the
> current master branch and the beta2 of grocery-sync  and am seeing the
> exact behavior as outlined above.  The same messages come from the server
> and the applications never sync.
>
> This leads me to believe something is wrong with my server configuration
> or the URL to the sync gateway.  The  android lite guide (
> https://github.com/couchbaselabs/GrocerySync-Android) says to modify the 
> DATABASE_URL
> which doesn't exist anywhere in source.  I instead modified the SYNC_URL
> from  http://10.0.0.2:4984 to http://54.187.90.23:4984/sync_gateway and
> left everything else the same.
>
> We're ready to run with couchbase and purchase licenses but I need to see
> it working to sell it to the organization.  I'm glad to pay for support to
> simple prototype the demo app.  If anyone can help please let me know.
>
> --
> 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]<javascript:_e(%7B%7D,'cvml','mobile-couchbase%[email protected]');>
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/ce0c20ce-f521-41b8-913f-d306759274b7%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/ce0c20ce-f521-41b8-913f-d306759274b7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCEm51o8UtSoXPBx76Oy5V7PDLqgc%3DE9DNMJ%3DQErnAe2_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to