Firebase 应用程序分发违反了 Google Play 政策

问题描述 投票:0回答:2

一年多以来,我一直在使用 Firebase 应用程序分发来在 Play 商店上进行封闭测试应用程序。我突然收到暂停警告,原因如下:

设备和网络滥用政策:违反设备和网络滥用政策。例如,您的应用正在使用 firebase apkupdater SDK 或库,这会导致用户从 Google Play 之外的未知来源下载或安装应用程序。

我的测试应用程序的唯一代码是:

val firebaseAppDistribution = FirebaseAppDistribution.getInstance()
firebaseAppDistribution.updateIfNewReleaseAvailable()
    .addOnProgressListener {
        // (Optional) Implement custom progress updates in addition to
        // automatic NotificationManager updates.
    }
    .addOnFailureListener { e ->
        // (Optional) Handle errors.
        if (e is FirebaseAppDistributionException) {
            when (e.errorCode) {
                FirebaseAppDistributionException.Status.NOT_IMPLEMENTED -> {
                    // SDK did nothing. This is expected when building for Play.
                }
                else -> {
                    // Handle other errors.
                }
            }
        }
    }

我试图提出上诉,但预先生成的回复根本没有帮助。应用程序分发有什么我不明白的地方吗?

android firebase google-play firebase-app-distribution
2个回答
0
投票

这与应用程序分发文档中关于设置警报的警告相匹配:

注意:完整的 App Distribution Android SDK 实现包含自我更新功能,即使该代码未在运行时执行,也可能被视为违反 Google Play 政策。在不删除 SDK 的情况下将您的应用程序提交到 Google Play 可能会导致您的应用程序从 Google Play 中删除。

因此,应该在所有构建中对您的应用程序使用 Firebase 应用程序分发 仅 API 库依赖项,但仅使用完整的 SDK 实现来构建专门用于 Firebase 中的预发布测试的变体(因此那些不是通过 Google Play 分发的变体) ).


0
投票

我刚刚收到同样的警告。

如果您查看应用程序分发 SDK 文档(此处),您会看到一条警告,指出使用完整的 sdk 可能会违反 Google Play 政策。

我正在使用React Native,所以我检查了Firebase应用程序分发模块的内容(node_modules/@react-native-firebase/app-distribution/android/build.gradle),我发现它确实正在导入完整的SDK !

我的版本是14.9.4,我升级到版本19.2.2,现在它只导入API。

我希望这能有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.