On Thursday, December 4, 2014 2:20:09 PM UTC-8, Nick Wood wrote: > > No worries, thank you Chris. I'll give this a try and post back here if I > have issues. > > Trying to get CORS working to solve an issue similar to the one describe > in this thread - > https://groups.google.com/forum/#!searchin/mobile-couchbase/cors/mobile-couchbase/a80GfiBwkuI/Io-nzwOylE4J > > Basically doing PhoneGap/Cordova development and when using "livereload" > functionality, it spins up a separate web server for the application files, > which causes the REST calls to CBL to fail. > > In the past when I've wanted to do this, I've just changed my app HTML to point to http://my-machine.local/bundle.js -- I can't live reload HTML or CSS assets, but when I'm working on code it works just fine. So the HTML is coming from the device, just the JS is on my laptop.
I bet you could adapt this for CSS and templates also. In my case I was using browserify. Chris Nick > > > On Thu, Dec 4, 2014 at 3:13 PM, J. Chris Anderson <[email protected]> > wrote: > >> Sorry about the delay. >> >> This is the repo that builds the phonegap plguin: >> https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin-builder >> >> It uses the build artifacts for iOS and Android releases as it's input, >> you should be able to get those from our jenkins server or our downloads >> page. >> >> I'm curious what you are using CORS for? >> >> Chris >> >> On Monday, November 17, 2014 10:09:01 AM UTC-8, Nick Wood wrote: >>> >>> By chance, is the plugin build process documented somewhere - even if >>> unpolished? Anything that could get me moving forward again on this >>> project would be very helpful. >>> >>> Nick >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Couchbase Mobile" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/mobile-couchbase/HmMNSNFZVj0/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mobile-couchbase/411cbf18-6e9d-477b-ad96-ff680773532c%40googlegroups.com >> >> <https://groups.google.com/d/msgid/mobile-couchbase/411cbf18-6e9d-477b-ad96-ff680773532c%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/4be61e78-ada3-45bb-98e8-486fffd2e2e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
