mapbox-gl-js-cordova-offline-example
mapbox-gl-js-cordova-offline-example copied to clipboard
Android Issue
I installed the plugin without problems on iOS following the documented steps. Following the same steps on Android leads to an app crashing immediately after launch.
When I use the most recent version of https://github.com/litehelpers/cordova-sqlite-storage.git rather then the 0.7.10 version I am able to launch the example.
changing to 0.7.10 again, makes the app crash on launch again.
same problem as described here: https://github.com/trevorpowell/mapbox-gl-js-cordova-offline-example/issues/1
adding
window.sqlitePlugin.openDatabase({ name:t.source+".mbtiles", location:2, createFromLocation:1, androidDatabaseImplementation: 2 })
solved it. Thanks