Add secure context on android (#4428)

* Add secure context on android

* Remove location permission in AndroidManifest.xml.hbs
This commit is contained in:
Olivier Lemoine authored and GitHub committed 2025-07-22 13:12:30 -07:00
1 parent 6524f55462
commit 196db43e23
2 files changed
+16 -2

No files matched your search

+4 -1
View File
@@ -7,7 +7,10 @@ use wry::{
RequestAsyncResponder,
};
#[cfg(any(target_os = "android", target_os = "windows"))]
#[cfg(target_os = "android")]
const EVENTS_PATH: &str = "https://dioxus.index.html/__events";
#[cfg(target_os = "windows")]
const EVENTS_PATH: &str = "http://dioxus.index.html/__events";
#[cfg(not(any(target_os = "android", target_os = "windows")))]