1、SDK排查自己是否请求过隐私接口
2、排查unity前台是否有请求过安卓的隐私接口
3、unity导入的插件或者一些package包是否存在请求
4、移除analytics package :去package manager 窗口移除即可,然后上传manifest.json
5、File-BuildSettings-PlayerSettings,勾选Disable HW Statistics*,对应的文件是ProjectSettings.asset的 submitAnalytics: 1 变化成 submitAnalytics: 0
Disable HW Statistics* 禁用硬件统计,在启用的情况下,用程序会将匿名硬件统计信息发送到Unity,反之,则不发送。
如果不移除Analytics包,则在启动的时候加入以下代码也可以
void Awake() { UnityEngine.Analytics.Analytics.enabled = false; UnityEngine.Analytics.Analytics.deviceStatsEnabled = false; UnityEngine.Analytics.Analytics.initializeOnStartup = false; UnityEngine.Analytics.Analytics.limitUserTracking = false; UnityEngine.Analytics.PerformanceReporting.enabled = false; }
- 本文固定链接: https://freemanapp.com/zh/?p=898
- 转载请注明: freeman 于 FreemanApp 发表