Open teusbenschop opened 2 months ago
When enabling std::filesystem
on Android, several devices had native crashes. This are crashes in C++.
Device(s) with issues Google Pixel 6 (oriole) - Android 12 Google Pixel 5 64-bit only (redfin_64) - Android 13 Google Pixel 7 (panther) - Android 13 Motorola Motorola G20 (java) - Android 11 Generic Small Desktop (x86) (SmallDesktop.x86) - Android 12L
Exceptions Native crash of org.bibledit.android Native crash of org.bibledit.android Native crash of org.bibledit.android Native crash of org.bibledit.android Native crash of org.bibledit.android Native crash of org.bibledit.android
For Ubuntu 22.04 see this issue: https://github.com/bibledit/cloud/issues/960 That is why the std::filesystem is disabled for all of Cloud and Linux client, just to be sure.
It is now time to use the newer filesystem calls from the
std::filesystem
library.To keep testing whether it keeps working after the move.
std::filesystem
but the app is very slow in the simulator - to be retried later.std::wstring
: Nope, this is still needed for other calls.DIRECTORY_SEPARATOR
USE_STD_FILESYSTEM