Skip to content
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
57f9d56
feat(android): prepare for multi-window support
lucasfernog Oct 22, 2025
a71c707
add android multiwindow apis
lucasfernog Oct 23, 2025
f12df40
activity_name getter, JS API, auto inherit from manager on builder::new
lucasfernog Oct 24, 2025
c389ba4
refactor(core): improve iOS log messages from stdout/stderr
lucasfernog Oct 28, 2025
9e0bbff
patch
lucasfernog Oct 28, 2025
067ef61
Merge branch 'dev' into feat/mobile-multi-window
lucasfernog Oct 28, 2025
6854f8b
Merge branch 'refactor/ios-stdout-stderr-log' into feat/mobile-multi-…
lucasfernog Oct 28, 2025
b5d874d
use context (created_by_activity_name) from caller on TS API
lucasfernog Oct 29, 2025
bcc25c0
add scene identifier getter and setter
lucasfernog Oct 29, 2025
e4ccc32
expose apis
lucasfernog Oct 29, 2025
9a360af
fix desktop build
lucasfernog Oct 29, 2025
c5dbb02
Merge remote-tracking branch 'origin/dev' into feat/mobile-multi-window
lucasfernog Oct 30, 2025
6b94116
fix window from config
lucasfernog Oct 30, 2025
a602008
update lock
lucasfernog Oct 30, 2025
eb51b13
size is now respected on iOS, so default to None
lucasfernog Oct 30, 2025
f5f9b3d
add SceneRequested event
lucasfernog Nov 6, 2025
220cc2a
Merge remote-tracking branch 'origin/dev' into feat/mobile-multi-window
lucasfernog Nov 12, 2025
6eb2dee
update features
lucasfernog Nov 12, 2025
bfc74a7
fix default size
lucasfernog Nov 12, 2025
e97e2e5
Revert "fix default size"
lucasfernog Nov 12, 2025
11fc78b
ignore size from config
lucasfernog Nov 12, 2025
e5f65a6
lint
lucasfernog Nov 12, 2025
1702b27
Merge remote-tracking branch 'origin/dev' into feat/mobile-multi-window
lucasfernog Nov 17, 2025
2172252
use git
lucasfernog Nov 17, 2025
7f953fc
change file
lucasfernog Nov 17, 2025
7f02cf5
add supports_multiple_windows API
lucasfernog Dec 2, 2025
12aaef6
add androidx.lifecycle:lifecycle-process
lucasfernog Dec 3, 2025
00dcedc
update wry
lucasfernog Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix desktop build
  • Loading branch information
lucasfernog committed Oct 29, 2025
commit 9a360af214fd22b30e69d37541c4f9f90e89ba7c
7 changes: 6 additions & 1 deletion crates/tauri/src/webview/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ async fn create_webview_window<R: Runtime>(
#[cfg(desktop)]
mod desktop_commands {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apps can't currently detect if multi-window is available. Should we add an API like this? e.g.

Typescript

if (await app.supportsMultiWindow()) {
    // Create new window
} else {
    // Ignore
}

Rust

pub fn supports_multi_window() -> bool {
    #[cfg(target_os = "iOS")]
    {
        ios_version() >= 13.0
    }
    #[cfg(target_os = "android")]
    {
        android_api_level() >= 32 // Android 12L
    }
    #[cfg(desktop)]
    {
        true
    }
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea 7f02cf5

use super::*;
use crate::{command, AppHandle};
use crate::{
command,
runtime::dpi::{Position, Size},
utils::config::Color,
AppHandle, Webview,
};

fn get_webview<R: Runtime>(
webview: Webview<R>,
Expand Down