Read APNs in Android 4.2?

前端 未结 4 738
情书的邮戳
情书的邮戳 2020-11-27 21:49

I have a problem reading APNs in Android v4.2 (Yes reading, not writing APNS), it is throwing a security exception:

4条回答
  •  天命终不由人
    2020-11-27 22:32

    This appears to be an intentional change. The git commit where they added this defense includes the following comment:

    Since the DB may contain corp passwords, we should secure it. Using the same permission as writing to the DB as the read is potentially as damaging as a write.

    It is conceivable that your issue will cause them to consider adding a separate read permission, but at least for the time being, this is a regression in 4.2.

提交回复
热议问题