Not sure why this is the case, but, in order to get URLs like http://lite.couchbase./... working I need to make a call to CBLManager.internalURL, which lazily registers the CBL_URLProtocol.
From an API perspective this is a little weird. Perhaps we should have a method to register the HTTP protocol, like CBLManager.registerHTTPProtocol. Or perhaps it should be registered all the time.
Not sure why this is the case, but, in order to get URLs like
http://lite.couchbase./...
working I need to make a call toCBLManager.internalURL
, which lazily registers theCBL_URLProtocol
.See: https://github.com/couchbase/couchbase-lite-ios/blob/master/Source/API/CBLManager.m#L320
From an API perspective this is a little weird. Perhaps we should have a method to register the HTTP protocol, like
CBLManager.registerHTTPProtocol
. Or perhaps it should be registered all the time.