mapbox-gl-js-cordova-offline-example icon indicating copy to clipboard operation
mapbox-gl-js-cordova-offline-example copied to clipboard

Android Issue

Open rvijgen opened this issue 9 years ago • 1 comments

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.

rvijgen avatar Feb 26 '16 20:02 rvijgen

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

rvijgen avatar Feb 27 '16 10:02 rvijgen