> On Mar 13, 2015, at 1:17 PM, [email protected] wrote: > > Q1: Is there a way to get Couchbase Lite log / debug info from within a > Cordova / Phonegap environment? Without it, I'm flying blind.
Hm, I’m not an expert on this, JChris is. Can you configure the command-line arguments passed to the app on launch? If so, you can enable logging that way <https://github.com/couchbase/couchbase-lite-ios/wiki/Logging>. (I’m assuming you’re using the native/Cocoa CBL, not the Xamarin/.NET one.) > Q2: What is the correct way to include both Credentials and Channel > information in the $http call? For example, should they be embedded in the > url http://user:[email protected] <http://user:[email protected]/> > or in the within the config object somehow? (Not Facebook Auth) Yes, put the username/password in the URL. (They are stripped out of the URL before any HTTP requests are sent, so they won’t show up in proxy logs or anything like that.) —Jens -- 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/FD3A3940-6099-44B3-B035-26ED6CB8704E%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
