我已经在firebase上创建了动态链接https://abc.test.link/test
。
,并在SplashActivity
意向过滤器中添加了以下内容。
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:host="abc.test.link"
android:scheme="https"
android:path="/test " />
</intent-filter>
我正在从浏览器中打开URL,它会在我的设备中启动Play商店,无论是否安装了应用程序。
如果我从playstore
下载了该应用程序,那么它将正常运行并启动该应用程序(如果已将其安装在设备中)。
但是我想在调试apk中测试场景。有什么方法可以从Firebase动态链接启动调试安装的APK。