阻止其他 android 应用程序识别我的应用程序的方法?

Ways to stop other android applications from identifying my application?

我们开发了一个原生的支付应用程序 android 以在当地市场竞争。我们的竞争对手已经做到,当他们的应用程序检测到我们的应用程序时,他们的应用程序会自动禁用自身。问题是我们的用户也使用他们的应用程序,因此我们希望我们的应用程序无法被其他应用程序识别。 我们对此的解决方案是手动分发我们的应用程序而不是 playstore 并为每个用户生成唯一的包 ID。

我们还能做些什么来解决这个问题?

直到 Android 10 任何应用程序都可以列出设备上安装的所有应用程序。开始 Android 11 有 some limitations and by default you can't list all apps, so you are "safe". BUT 3rd-party may request QUERY_ALL_PACKAGES permission and will detect your app as well. note that Google Play Store have special policy 此类应用程序,并非每个应用程序都可以发布

当您的应用程序使用此第 3 方应用程序时,仍可能会被检测到 API/Service(取决于访问方式),然后它会自行锁定