build: bump Android minSdk to API level 24 - #12810
Conversation
Package Changes Through edc883eThere are 8 changes which include tauri with minor, tauri-cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, @tauri-apps/api with minor, @tauri-apps/cli with minor, tauri-bundler with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
Not necessarily. Typically in these situations there are similar apis that work in lower api levels as well. After a quick google search it seems like there's also something like |
`activity.applicationInfo.dataDir` returns the same value as `activity.dataDir.absolutePath`, but looks like the latter is synchronized when the app is moved (see https://developer.android.com/reference/android/content/Context#getDataDir() vs https://developer.android.com/reference/android/content/pm/ApplicationInfo#dataDir) ref #12810
|
looks like we have a way to keep the sdk 21 requirement (we don't want to break that part yet) as Fabian-Lars suggested. see #12870 |
When building a Tauri plugin for mobile, the following lint error occurs:
Since a call to
dataDirwould most likely panic on Android API level <24, bumpingminSdkseems like the only viable option.