如何阻止其他 Android 应用程序识别我的应用程序?

nat*_*ghi 5 security android

We have developed a payment application with native android to compete in the local market. Our competitors have made it so that when their applications detect ours, theirs automatically disables itself. The problem is that our users use their applications as well so we wanted our application to be unidentifiable by the other apps. Our solutions for this have been distributing our app manually instead of playstore and generating a unique bundle id for each individual user.

What else can we do to get around this?

sna*_*msm 2

在 Android 10 之前,任何应用程序都可以列出设备上安装的所有应用程序。从 Android 11 开始,存在一些限制,默认情况下您无法列出所有应用程序,因此您是“安全的”。但第 3 方可能会请求QUERY_ALL_PACKAGES许可,并且也会检测您的应用程序。请注意,Google Play 商店对此类应用程序有特殊政策,并非每个应用程序都可以与其一起发布

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

  • @natghi 你用 Android 11 测试过吗?我想知道他们是否违反了Google服务“Play Console中的权限声明表”。我认为您可以就这个问题与Google联系,因为这个问题更多的是关于用户而不是程序。如果我是 Google Play 的 mod,并且任何程序都表现出这样的行为而不给出任何适当的解释,我将永远禁止它们。 (3认同)
  • 好吧,就这样吧。遗憾的是,即使在 Android 11 发生变化之后,也没有可靠的方法来防止这种情况发生——有一个用于访问所有应用程序列表(或至少检查特定应用程序是否存在)的新权限。顺便提一句。当安装我的应用程序后,设备上的所有其他类似应用程序将停止工作时,我会非常高兴 - 没有竞争对手,用户被迫只使用我的应用程序 (2认同)