Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

隐私政策不通过怎么调整 #33

Open
lh9403 opened this issue Jun 11, 2022 · 16 comments
Open

隐私政策不通过怎么调整 #33

lh9403 opened this issue Jun 11, 2022 · 16 comments

Comments

@lh9403
Copy link

lh9403 commented Jun 11, 2022

华为市场:您的应用在用户同意隐私政策前申请获取用户的 个人信息:应用收取ANDROID ID; 应用内集成的[Bugly、腾讯Bugly]SDK收取ANDROID ID
项目内已经在获取同意之后才调用了RNBugly.checkUpgrade

@yz1311
Copy link
Owner

yz1311 commented Jun 11, 2022

原生用的哪个方法初始化的?

@lh9403
Copy link
Author

lh9403 commented Jun 11, 2022

和文档一样加在onCreate里

@lh9403
Copy link
Author

lh9403 commented Jun 11, 2022

RNBuglyModule.initWithoutAutoCheckUpgrade(getApplicationContext(),"",false);

@yz1311
Copy link
Owner

yz1311 commented Jun 11, 2022

你把库里面的sdk的版本升级到最新版本试下

@yz1311
Copy link
Owner

yz1311 commented Jun 11, 2022

如果还不行的话,我后面将sdk的初始化暴露成js来调用

@lh9403
Copy link
Author

lh9403 commented Jun 11, 2022

compile 'com.tencent.bugly:crashreport_upgrade:latest.release'
compile 'com.tencent.bugly:nativecrashreport:latest.release'
不太熟悉安卓,改成这样是吧

@yz1311
Copy link
Owner

yz1311 commented Jun 13, 2022

是的,可以吗?

@lh9403
Copy link
Author

lh9403 commented Jun 14, 2022

还是不行,刚被拒了,这个是安卓external libraries里的版本

Gradle: com.tencent.bugly:crashreport_upgrade:1.5.23@aar
Gradle: com.tencent.bugly:nativecrashreport:3.9.2@aar

@yz1311
Copy link
Owner

yz1311 commented Jun 14, 2022

https://bugly.qq.com/docs/user-guide/faq-android/?v=1.0.0
bugly的统计库目前是不会再初始化的时候获取ANDROID ID的,但是升级库里面包含统计库,而升级库最新版本是去年的,一直没更新,所以还是会自动获取
https://bugly.qq.com/docs/release-notes/release-android-beta/
目前只能将初始化移到js中,但是还是需要重新提交才知道结果,如果对bugly不是特别依赖,建议去掉这个库

@lh9403
Copy link
Author

lh9403 commented Jun 14, 2022

主要是用bugly的升级,统计我用不到,可以修改下初始化逻辑,把bugly的初始化放在js中调用,已经用它更新不少版本了,去掉再找其他的比较麻烦 😄

@hengkx
Copy link

hengkx commented Oct 26, 2022

现在是 init 方法有问题 不能用么

@yz1311
Copy link
Owner

yz1311 commented Oct 26, 2022

@hengkx

1.3.0-beta.3 这个可以,最严格的华为市场已经通过了

try {
      await RNBugly.init({
        appId: ""
      });
      const deviceId = await DeviceInfo.getUniqueId();
      RNBugly.setDeviceID(deviceId);
      const deviceModel = await DeviceInfo.getDeviceId();
      RNBugly.setDeviceModel(deviceModel);
      await RNBugly.checkUpgrade({
        isManual: false,
        isSilence: true,
      });
    } catch (e) {
      
    }

@hengkx
Copy link

hengkx commented Oct 26, 2022

谢谢 自动更新正常吗? 最主要的功能

@yz1311
Copy link
Owner

yz1311 commented Oct 26, 2022

@hengkx

库是好的,刚去官网看了,更新官方停止服务了,这个库没必要用了

@hengkx
Copy link

hengkx commented Oct 26, 2022

。。。

@349989153
Copy link

哎,就很无语,为什么停止服务了呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants