Skip to content

Commit 7cc36cc

Browse files
authored
Merge pull request #23 from albarozzz/main
fix: ENGINE_NAME not declared in iOS and Android
2 parents 969a205 + 3ca1e1f commit 7cc36cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sys.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ use tauri::webview_version;
33
#[cfg(target_os = "linux")]
44
static ENGINE_NAME: &str = "WebKitGTK";
55

6-
#[cfg(target_os = "macos")]
6+
#[cfg(target_os = "android")]
7+
static ENGINE_NAME: &str = "Android System WebView";
8+
9+
#[cfg(any(target_os = "macos", target_os = "ios"))]
710
static ENGINE_NAME: &str = "WebKit";
811

912
#[cfg(target_os = "windows")]

0 commit comments

Comments
 (0)