refactor: use safe insets from native for Android, closes #1793 and closes #1886 (#1897)

This commit is contained in:
Huang Xin 2025-08-25 15:38:49 +08:00 committed by GitHub
parent 0b01132d88
commit 5ee860f1e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 282 additions and 64 deletions

View file

@ -52,6 +52,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
commands::iap_purchase_product,
commands::iap_restore_purchases,
commands::get_system_color_scheme,
commands::get_safe_area_insets,
])
.setup(|app, api| {
#[cfg(mobile)]