Firebase 中 "app_store" 的值从何而来?

Where is the value of the "app_store" in the Firebase come from?

Google Firebase official doc开始,user_dim.app_info.app_store定义为

The store which installed this app.

在检查了我的数据后,我得到了这个键的一些值,比如

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 从哪里获取这些值?

在 Android 上,getInstallerPackageName method provided by the PackageManager 报告安装了当前应用程序的应用程序包。当应用程序由 Google Play Store 安装时,程序包被报告为 "com.android.vending",尽管 Firebase Analytis 会将其替换为空字符串以节省磁盘和网络带宽。旁加载的应用程序将报告为 manual_install.

在 iOS 上,唯一可能的商店 iTunes 被报告为空 app_store 值。与 Android 一样,旁加载应用报告为 manual_install