question

43865767 avatar image
0 Votes"
43865767 asked ColeXia-MSFT commented

Handle Cancel button on Safari/Chrome for Open My App

When i am working Xamarin Forms where i have used Deep Linking.

1) On iOS, When i am running my website safari browser its asking me pop up to open app or cancel option.

while click on cancel button i am not getting any call in my app code

dotnet-xamarin
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

any codes here?

0 Votes 0 ·

I have deep linking in my application. check below Image reference
76664-example.jpg

is this a user interface element controlled by Apple. Can we programmatically manipulate this alert.


0 Votes 0 ·
example.jpg (22.1 KiB)

Yes , we can't get the alert and the clicking event , it is built-in and controlled by apple .

Does the method OnAppLinkRequestReceived trigger when cancel button is clicked ?


0 Votes 0 ·

1 Answer

43865767 avatar image
0 Votes"
43865767 answered ColeXia-MSFT commented

No its not getting called

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Clicking Open should be able to trigger OnAppLinkRequestReceived method in App.

It's impossible to hook cancel button event , as I mentioned above , it is built-in and controlled by apple .

0 Votes 0 ·