Yep, I'm interested too
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3674bb46-4b65-4e4a-bde2-d21b1aaa55a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm doing some initial research into deploying an iOS app using a CouchApp, serving its views into UIWebViews in a wrapper app of sorts. I note a brief mention of using PhoneGap for this purpose (http://docs.couchbase.com/couchbase-lite/cbl-concepts/#what-about-couchapps) but I'm leery of using PhoneGap, primarily because I want to leverage the same technology to create a Mac version of the same app.
I would just go ahead and use PhoneGap; otherwise you’ll be reinventing most of what it does.Even if you wrote your own UIKit wrapper code, it’s still iOS-only, so you’d still need to write new code for a Mac OS version.
I'm sorry, your rationale appears to be contradictory: if I need to come up with a solution that works on the Mac anyway, why not figure one out that works on iOS too?
In my own attempt I used the -internalURL method without success, but this CBLRegisterJSViewCompiler(), which digs into an included binary framework…
and this is where I lose the trail at the moment. Is this path worth pursuing, do you think? Or is this a rabbit hole that leads to requiring PhoneGap, and I'm back to square one?
--
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/3PLm_V-LMy8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6CDF78DA-6A2D-4142-8A9E-948D2AF0124C%40couchbase.com.
https://github.com/apache/cordova-osx
It's not the only way to do it (and our plugin isn't set up for this yet) but it might save you some work.
There are other Mac web containers that are probably equally easy / popular. Definitely no reason to do the heavy lifting your self.
Chris
Regarding that shell, I just came across this project, which provides an embedded HTTP server for Mac and iOS. https://github.com/swisspol/GCDWebServer