Код: Выделить всё
Device and Network Abuse policy: Violation of Device and Network Abuse policy. For example, your app is using the firebase apkupdater SDK or library, which causes users to download or install applications from unknown sources outside of 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.
}
}
}
}
Подробнее здесь: https://stackoverflow.com/questions/784 ... lay-policy