JasonChen1719
JasonChen1719
  • 发布:2023-01-12 13:44
  • 更新:2023-02-17 13:30
  • 阅读:776

uniapp 上架华为应用市场驳回,在同意政策前获取相机权限

分类:uni-app

华为市场上架驳回提示:
1.在用户同意隐私政策前,您的应用获取了用户的相机权限,不符合华为应用市场审核标准。
修改建议:请在用户同意隐私政策后,再申请获取用户个人信息及权限。

请问这种如何解决?是云打包默认进去的?还是mainfest.json里配置勾选去掉?

2023-01-12 13:44 负责人:无 分享
已邀请:
DCloud_Android_YJC

DCloud_Android_YJC

安装包链接发一下,我看下

  • JasonChen1719 (作者)

    链接私发您了,您查收下

    2023-01-12 14:16

  • JasonChen1719 (作者)

    是不是多勾选这两个造成的?

    "<uses-feature android:name=\"android.hardware.camera\"/>",

    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",

    2023-01-12 14:19

  • DCloud_Android_YJC

    回复 JasonChen1719: 我看了同意隐私政策前没有获取相机权限,扫码界面才获取的,而且你的应用是需要相机的,这两个feature表示你的应用需要使用到相机硬件

    2023-01-12 14:31

  • DCloud_Android_YJC

    回复 JasonChen1719: 华为驳回还有什么信息么,或者说驳回原因有什么佐证吗

    2023-01-12 14:31

  • JasonChen1719 (作者)

    回复 DCloud_Android_YJC: 请参考《审核指南》第7.5相关审核要求:https://developer.huawei.com/consumer/cn/doc/50104

    APP常见个人信息保护问题FAQ请参考:

    https://developer.huawei.com/consumer/cn/doc/distribution/app/FAQ-faq#h2-1628498414951-0


    还有这几个,其他没了,我也给华为提问了,还没回复

    2023-01-12 14:38

  • DCloud_Android_YJC

    回复 JasonChen1719: 有回复了同步一下

    2023-01-12 15:54

  • JasonChen1719 (作者)

    回复 DCloud_Android_YJC: 好的,谢谢

    2023-01-12 16:03

  • JasonChen1719 (作者)

    回复 DCloud_Android_YJC: 华为调用栈给到了,麻烦您看下

    [androidx.core.app.ActivityCompat.requestPermissions(ActivityCompat.java:502),


    io.dcloud.common.core.permission.PermissionControler.runRequestPermissions(Unknown Source:6),


    io.dcloud.common.core.permission.PermissionControler.requestPermissions(Unknown Source:7),


    io.dcloud.common.adapter.util.PermissionUtil.requestPermissions(Unknown Source:1),


    io.dcloud.common.adapter.util.PermissionUtil.requestSystemPermissions(Unknown Source:23),


    io.dcloud.common.adapter.util.PermissionUtil.requestSystemPermissions(Unknown Source:1),


    io.dcloud.common.adapter.util.PermissionUtil.useSystemPermissions(Unknown Source:26),


    io.dcloud.feature.weex_barcode.BarcodeView.start(BarcodeView.java:355),


    io.dcloud.feature.weex_barcode.BarcodeComponent.start(BarcodeComponent.java:119),


    java.lang.reflect.Method.invoke(Native Method),


    com.taobao.weex.bridge.MethodInvoker.invoke(MethodInvoker.java:46)

    2023-01-13 09:54

  • JasonChen1719 (作者)

    回复 DCloud_Android_YJC: 是否是扫码模块导致的呢?

    io.dcloud.feature.weex_barcode.BarcodeView.start(BarcodeView.java:355),

    io.dcloud.feature.weex_barcode.BarcodeComponent.start(BarcodeComponent.java:119),

    2023-01-13 10:41

DCloud_Android_YJC

DCloud_Android_YJC

使用HBuilderX 3.6.17重新打包提审即可

  • JasonChen1719 (作者)

    好的,我试试,谢谢

    2023-01-13 11:32

jiankangtong

jiankangtong

请问解决了吗,我这里都试过了,还是不好用

  • JasonChen1719 (作者)

    解决了,更新最新版打包就好了,可能你的不是这个问题

    2023-02-02 17:20

江南小闫

江南小闫

我用HBuilderX 3.6.18 打包,还提示这个。。。
尊敬的开发者,您好,在用户同意隐私政策前,您的应用获取了用户的相机权限,请参考以下调用栈,可协助您定位问题,并将相关信息获取调整至同意政策之后,谢谢
(未再发现手机号问题)
未同意隐私政策,应用收取相机权限

[androidx.core.app.ActivityCompat.requestPermissions(ActivityCompat.java:502),

io.dcloud.common.core.permission.PermissionControler.runRequestPermissions(Unknown Source:6),

io.dcloud.common.core.permission.PermissionControler.requestPermissions(Unknown Source:7),

io.dcloud.common.adapter.util.PermissionUtil.requestPermissions(Unknown Source:1),

io.dcloud.common.adapter.util.PermissionUtil.requestSystemPermissions(Unknown Source:23),

io.dcloud.common.adapter.util.PermissionUtil.requestSystemPermissions(Unknown Source:1),

io.dcloud.invocation.a.a(Unknown Source:220),

io.dcloud.invocation.Invocation.execute(Unknown Source:4),

io.dcloud.g.b.a(Unknown Source:141),

io.dcloud.g.b.b(Unknown Source:3),

io.dcloud.g.b.processEvent(Unknown Source:174),

io.dcloud.e.c.c.dispatchEvent(Unknown Source:22),

io.dcloud.common.core.ui.l.processEvent(Unknown Source:2),

io.dcloud.common.adapter.ui.AdaUniWebView.exec(Unknown Source:7),

io.dcloud.common.adapter.ui.AdaUniWebView$1.execute(Unknown Source:5),

io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(Unknown Source:3),

android.os.Handler.dispatchMessage(Handler.java:109),

android.os.Looper.loop(Looper.java:228),

android.app.ActivityThread.main(ActivityThread.java:9016),

java.lang.reflect.Method.invoke(Native Method),

com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614),

com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)]

要回复问题请先登录注册