generated from JetBrains/compose-multiplatform-template
-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hi,
I'm trying to detect a click on the URI scheme link button.
Please look at the screenshot below. On the web is for example a button "Navigovat" and after click it will open in a new browser tab maps URL "https://mapy.com/cs/zakladni?x=17.381604794179054&y=50.118149273062926%2C"
The button with the phone icon should open the phone dial.
On Android, I'm using "requestInterceptor" and it's working. I can detect the click.
But it's not working on iOS.
Can you help me with that?
EDIT: this is code from web:
// MAPY.CZ
let x = uvg.getUvgValue('%U.A.sour_2WGS_tecka%')
let y = uvg.getUvgValue('%U.A.sour_1WGS_tecka%')
let navigationMapy = window.open(
'https://mapy.cz/zakladni?x=' +
x +
'&y=' +
y +
'%2C&z=17&source=coor&id=' +
x +
'%2C' +
y,
'_blank'
)
if (navigationMapy === null) {
blockingWindowsAlert()
} else {
navigationMapy.focus()
}
Is the code correct?
Metadata
Metadata
Assignees
Labels
No labels