Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 2.0-beta
-
Fix Version/s: None
-
Component/s: SDK
-
Labels:None
Description
A request for a small improvement for your Android API: You offer a method CouchbaseMobile.externalPath() to get the external path for Couchbase Mobile. We have implemented some kind of quota control that limits the used diskspace, so we need to find out the path where CouchDB stores its database files. Unfortunately this is a sub-folder of the one returned by externalPath(). We implemented a method on our own that returns new File(externalPath(), "/db/"); but that should be included in your CouchbaseMobile class (name of db folder could be changed) and used by CouchbaseMobile.installDatabase(String) as well.