"app_store"的值在哪里?在Firebase中来自哪里? [英] Where is the value of the "app_store" in the Firebase come from?

查看:110
本文介绍了"app_store"的值在哪里?在Firebase中来自哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Firebase官方文档中,user_dim.app_info.app_store是定义为

安装了此应用的商店.

The store which installed this app.

在检查了我的数据之后,我已经获得了该键的一些值,例如

And after checked my data, I've gotten some values of this key, like

com.android.vending
manual_install
cm.aptoide.pt
com.baidu.androidstore
test
com.google.android.feedback
com.dragon.android.mobomarket
co.android.vending
com.miui.cloudbackup
com.amazon.venezia

现在我有一个问题:Firebase SDK从何处获取这些值?

Now I have a question: where the Firebase SDK get these values from?

推荐答案

在Android上,.侧载的应用程序将报告为manual_install.

On Android the package of the app that installed the current app is reported by the getInstallerPackageName method provided by the PackageManager. When the app is installed by Google Play Store the package is reported as "com.android.vending" though Firebase Analytis will replace that with empty string to save disk and network bandwidth. Sideloaded apps will be reported as manual_install.

在iOS上,唯一可能的商店iTunes报告为空app_store值.在Android上,侧面加载的应用程序报告为manual_install.

On iOS the only possible store iTunes is reported as emptry app_store value. Sideloaded apps are reported as manual_install as on Android.

这篇关于"app_store"的值在哪里?在Firebase中来自哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆