大家好,我在 android 中有奇怪的深度链接行为,我创建了路线并为他们提供了路径、uriPrefix 和所有其他准备工作。所以我通过 adb 测试了它
>adb shell am start -W -a android.intent.action.VIEW -d "dapurq://auth/register" com.dapurq
Run Code Online (Sandbox Code Playgroud)
它与这个输出完美配合
Starting: Intent { act=android.intent.action.VIEW dat=dapurq://auth/register pkg=com.dapurq }
Warning: Activity not started, intent has been delivered to currently running top-most instance.
Status: ok
LaunchState: UNKNOWN (0)
Activity: com.dapurq/.MainActivity
TotalTime: 0
WaitTime: 5
Complete
Run Code Online (Sandbox Code Playgroud)