Use cache path for db location Add Assetbridge to extract asset files to cache path Fix SSL by using extracted ca bundle Use file:// style URL using extracted styles
15 lines
336 B
C++
15 lines
336 B
C++
#include <mbgl/platform/platform.hpp>
|
|
#include "../../android/cpp/NativeMapView.hpp"
|
|
|
|
namespace mbgl {
|
|
namespace platform {
|
|
|
|
// Returns the path to the default cache database on this system.
|
|
std::string defaultCacheDatabase() {
|
|
// TODO need to use get cache dir from java
|
|
return mbgl::android::cache_path + "/mbgl-cache.db";
|
|
}
|
|
|
|
}
|
|
}
|