1
我正在尝试实现Android应用程序链接。网址链接到的网站是用Angular开发的,因此所有的网址都有一个#(准确地说#!)。Android应用程序链接 - 在URL中使用#的模式
我无法找到与#
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="www.mydomain.com"
android:pathPattern="/#!/vehicle/.*" />
</intent-filter>
这pathPattern与URL完美的作品,而不#如
http://myDomain/!/vehicle/schema_id工作的良好格局例如
所以我的问题是特定于仪表:-S
如果已经尝试:
- /\#!/vehicle/.*
- /\\#/车/ *
- /.+/vehicle/.*
- /../vehicle/.*
- /*/vehicle/.*
- /%23!/车/。 *
等,我不记得提前
感谢您的可能的答案
感谢您的回答,我注定了然后:( –
@TweetyB更改服务器上的网址,如果你可以或者根本不使用pathPattern,打开应用程序,然后检查网址 – DEADMC
谢谢你会这样做,打开域的主要活动调用然后重定向到预期的活动,因此我将拥有适当的导航堆栈 –