Qihoo360 / RePlugin

RePlugin - A flexible, stable, easy-to-use Android Plug-in Framework
Apache License 2.0
7.25k stars 1.52k forks source link

应用内无法通过URI跳转 #1071

Open haifengjhf opened 1 month ago

haifengjhf commented 1 month ago

问题详细描述 Detailed description of the problem

插件内的activity 声明了,同时声明了data,如下。在插件内通过startActivity 无法跳转对应的activity Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("scheme://host/path")); context.startActivity(intent);

复现问题步骤 Steps to reproduce the problem

  1. 自定义一个插件,插件内声明2个activity,activity1,activity2
  2. 在activity1中通过URI方式跳转到activity2
  3. 跳转到错误页面

其它重要信息 Other important information

replugin-host-lib/gradle Version: rePlugin-plugin-lib/gradle Version:

Android API Version: Android 手机型号&ROM(Phone model & ROM):

Logcat上下文 Logcat context