MAUI deep linking handling

Humayun Aziz 0 Reputation points
2025-04-22T17:41:55.9566667+00:00

I am new to MAUI app development. I need a sample code snippet on how to handle deep linking using a custom scheme. like myapp://payment/success

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,112 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 75,641 Reputation points Moderator
    2025-04-22T20:09:53.85+00:00

    while supported by android and IOS they use different code. you can use conditional compilation in your app.

    for IOS see:

    https://learn.microsoft.com/en-us/dotnet/maui/macios/universal-links?view=net-maui-9.0

    for android see:

    https://learn.microsoft.com/en-us/dotnet/maui/android/app-links?view=net-maui-9.0

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.