Allow specifying min_sdk_version in dioxus config for Android. (#4549)

* allow specifying min_sdk_version inside dioxus config

* rustfmt
This commit is contained in:
Rhaskia authored and GitHub committed 2025-08-14 20:05:26 -07:00
1 parent 593945ecce
commit 2a0f328c42
4 files changed
+29 -16

No files matched your search

+4
View File
@@ -38,4 +38,8 @@ pub(crate) struct ApplicationConfig {
/// Use this file for the MainActivity.kt associated with the Android app.
#[serde(default)]
pub(crate) android_main_activity: Option<PathBuf>,
/// Specified minimum sdk version for gradle to build the app with.
#[serde(default)]
pub(crate) android_min_sdk_version: Option<u32>,
}
+1
View File
@@ -22,6 +22,7 @@ impl Default for DioxusConfig {
ios_info_plist: None,
android_manifest: None,
android_main_activity: None,
android_min_sdk_version: None,
macos_info_plist: None,
ios_entitlements: None,
macos_entitlements: None,