【发布时间】:2021-08-20 16:56:33
【问题描述】:
当我使用这个库时: https://github.com/openid/AppAuth-Android
在尝试使用深层链接并打开应用程序时遇到问题。在这种情况下,我有一个具有相同名称和包名称的应用程序的多实例。我只想举一个例子。 (当我触摸其中一个实例时会发生重定向,但触摸另一个实例时没有任何反应)
一切都很好,只有我有这个问题。 我也看到了这些问题:
https://github.com/openid/AppAuth-Android/issues/329
https://github.com/openid/AppAuth-Android/issues/481
https://github.com/openid/AppAuth-Android/issues/491
这是我在清单中的代码:
<activity
android:name=".util.deeplink.appAuth.RedirectUriReceiverActivity"
tools:node="replace">
<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="test"
android:host="ops" />
</intent-filter>
</activity>
【问题讨论】:
标签: android redirect deep-linking appauth