mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-24 19:35:33 +00:00
ios: support opening SimpleX links from camera and other apps
This commit is contained in:
@@ -317,6 +317,12 @@ struct ContentView: View {
|
||||
.onContinueUserActivity("INStartCallIntent", perform: processUserActivity)
|
||||
.onContinueUserActivity("INStartAudioCallIntent", perform: processUserActivity)
|
||||
.onContinueUserActivity("INStartVideoCallIntent", perform: processUserActivity)
|
||||
.onContinueUserActivity(NSUserActivityTypeBrowsingWeb) { userActivity in
|
||||
if let url = userActivity.webpageURL {
|
||||
logger.debug("onContinueUserActivity.NSUserActivityTypeBrowsingWeb: \(url)")
|
||||
chatModel.appOpenUrl = url
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func setConditionsNotified_() async {
|
||||
|
||||
Reference in New Issue
Block a user