mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Mapbox SDK corrupting SQLite database

Open viktor76525 opened this issue 2 years ago • 0 comments

Environment

  • Android OS version: 10
  • Devices affected: Samsung Active Pro, emulator (rarely)
  • Maps SDK Version: 10.13.0 (since 10.0.0-beta.15)

Observed behavior and steps to reproduce

Trying to get some help with #309 . We have mostly gotten around mapbox writing TLS data into our db by opening it once at app startup instead of on every query. But there are other libraries that are having their DBs made corrupt. It appears this issue is specific to Android 10. It happens with the test app quite soon after starting on Samsung devices. I have attached a logcat log of it happening with the emulator (rare). Uploading logcat-android-10-emulator.txt… The master branch is quite outdated, the updated branch reproduces the issue, even if further updated. This issue has been pinpointed to 10.0.0-beta.15, before that works, equal or later does not. There must have been something specific in that release, updating some library or dependency which exposes a bug in Android 10?

Expected behavior

DB not corrupting.

Notes / preliminary analysis

May be good to test on Samsung devices with Android 10. Seems to be limited to Android 10.

Additional links and references

309

viktor76525 avatar May 15 '23 00:05 viktor76525