hosseinAmini
hosseinAmini

Reputation: 2342

Blocked By Play Protect

We have published our app in play store, and everything is ok. But when we send apk file via email the OS prevents installing it and shows this error:

enter image description here

Gradle default config:

compileSdkVersion 28
defaultConfig {
    applicationId 'app.package'
    minSdkVersion 17
    targetSdkVersion 28
    versionCode 21
    versionName "0.2.1"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Permissions:

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />

I think we have to submit our app via this link but I read somewhere that the submission process takes 10-30 days.

Why the OS shows this error and how can we fix it?

Upvotes: 0

Views: 873

Answers (1)

S. Czop
S. Czop

Reputation: 620

This is not an error but rather a warning. Android has a built-in algorithm to recognize whenever you install something from outside Play Store. You can't make it so that your App doesn't trigger such warning in ANY phone. However, you can go to the settings of any android phone and deactivate the origin revision. Depending on the Android version, you will find it in a different path. You should google for "How to Install from Unknown Sources Android". Follow the instructions and this alert won't show up again.

Upvotes: 2

Related Questions