Add secure context on android (#4428)
* Add secure context on android * Remove location permission in AndroidManifest.xml.hbs
This commit is contained in:
1 parent
6524f55462
commit
196db43e23
2 files changed
+16
-2
No files matched your search
@@ -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")))]
|
||||
|
||||
Reference in new issue
Block a user