Deeplinking on Android causes crash
See original GitHub issueDescription
Creating a MAUI app with Deep Linking intents, then firing those intents causes a java crash

Steps to Reproduce
- Create File -> New MAUI App
- Add to the MainActivity an Intent Filter to allow deep linking / opening our Maui app from a URL
[IntentFilter(new[] { Intent.ActionView },
Categories = new[] {
Intent.CategoryDefault,
Intent.CategoryBrowsable
},
DataSchemes = new string[] { "http", "https" },
DataHost = "www.deeplink.com",
DataPaths = new string[] { "/player.php", "/tournaments/view.php" },
AutoVerify = true)]
- Build and run the app
- While the app is open, or isn’t open, use ADB to simulate a deep link request
.\adb shell am start -W -a android.intent.action.VIEW -d "https://www.deeplink.com/player.php?p=16927" - In the Android Emulator, choose our MAUI app when presented with the bottom drawer choice about how to open the link
- Witness a crash like the description says
Link to public reproduction project repository
https://github.com/edgiardina/MauiBug_DeepLinkCrash
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13 Pixel 5
Did you find any workaround?
No response
Relevant log output
0xFFFFFFFFFFFFFFFF in Android.Runtime.JNIEnv.monodroid_debugger_unhandled_exception
0x59 in Android.Runtime.JNIEnv.PropagateUncaughtException at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNIEnv.cs:308,5
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:13 (2 by maintainers)
Top Results From Across the Web
App crashes on opening deep link from the app
Now when i try to open this link from app, it crashes with following error message. No Activity found to handle Intent :...
Read more >Handling deep link crashes on the graph with includes and ...
I'm encountering crash when using deep link in fairly complex navigation graph ... Caused by: android.view. ... V/Deep link: Action : android.intent.action.
Read more >Deep Links Crash Course : Part 3 Troubleshooting Your ...
After being notified of an issue in the Play Console, you can follow these steps to debug your Android App Links. This blog...
Read more >Android app crashes when opening from a Branch Link
Android app crashes when opening from a Branch Link ... This mostly happens when there is a problem with the AndroidManifest.xml file. Please...
Read more >Crashes | App quality
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I understand, the issue I found is that the Shell is likely executing the same GotoAsync code behind the scenes prior to our interaction. I only call this out because that is what breaks when I try to interact with the app when I do have control.
the same issue…