如何修复意图重定向漏洞?,我没有使用任何小米依赖项

问题描述

几个星期以来,我一直无法解决这个问题,但仍然没有运气。我的应用不断被 PlayStore 拒绝。我读过https://support.google.com/faqs/answer/9267555?hl=en 我尝试在每个活动中添加 python3 /Users/syedrishad/Desktop/Code/test.py 选项 1,但它不起作用。然后我尝试了选项 2。

活动 1

exported=false

活动 2

val intentProduct = Intent(context,ProductView::class.java)
    intentProduct.putExtra("data",gson.toJson(item))
    startActivity(intentProduct)

但是当我尝试这个时,我总是得到 NullPointerException,因为 callActivity 总是 null,因此,它进入 else 条件。

解决方法

实际上,问题出在我使用的支付库之一 RazorPay 中,我只是通过将库更新到最新版本来修复它,在此处发布我的答案 https://stackoverflow.com/a/66499225/13373099