question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Your app is not compliant with Google Play Policies

See original GitHub issue

We received an email from Google Play that our app is not compliant with Google Play Policies due to Huawei Mobile Services SDK. See following screenshot: policy-violation

package.json

"@hmscore/react-native-hms-push": "^6.1.0-300",

android/build.gradle

buildscript {
    ext {
        buildToolsVersion = "30.0.2"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        ndkVersion = "21.4.7075529"
    }
    repositories {
        google()
        mavenCentral()
        jcenter()
        maven { 
            url 'https://developer.huawei.com/repo/'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.2.2'
        classpath 'com.google.gms:google-services:4.3.10'
        classpath 'com.huawei.agconnect:agcp:1.4.1.300'
    }
}

allprojects {
    repositories {
        mavenCentral()
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            // url "$rootDir/../node_modules/react-native/android"
            // Replace AAR from original RN with AAR from react-native-v8
            url("$rootDir/../node_modules/react-native-v8/dist")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }
        maven {
            // prebuilt libv8android.so
            url("$rootDir/../node_modules/v8-android-jit/dist")
        }
        google()
        jcenter()
        // Huawei SDK
        maven { url 'http://developer.huawei.com/repo/' }
    }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:14

github_iconTop GitHub Comments

1reaction
Xuejiao-Shicommented, Mar 18, 2022

@PaperMonster @adderly Your request has been received. We are aware of this issue and are currently investigating. Your application experience won’t be affected at this time and we will continue to update you on solutions. Thanks for your understanding and support.

0reactions
PaperMonstercommented, Jun 7, 2022

With the latest @hmscore/react-native-hms-push and com.huawei.agconnect:agcp, Google Play does not complain anymore. I’m closing this.

package.json

"@hmscore/react-native-hms-push": "^6.3.0-304",

android/build.gradle

classpath 'com.huawei.agconnect:agcp:1.4.2.301'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Action Required: Your app is not compliant with Google Play ...
After a recent review, we found that your app --- (---) is not compliant with one or more of our Developer Program Policies....
Read more >
Prepare your app for review - Play Console Help - Google Help
If you misrepresent the presence of ads in your app(s), it's considered a violation of the Google Play policies and may result in...
Read more >
Your app is not compliant with Google Play Policies- - YouTube
SOLUTION-Action Required: Your app is not compliant with Google Play Policies - · Comments • 45.
Read more >
SOLUTION: Your app is not compliant with Google Play Policies
An app of mine passed the review process and was on the Play Store. A month or 2 later, after doing no changes...
Read more >
Your app is not compliant with Google Play Policies (Word Spy)
Google Play Support · If the release with the violating app bundles / APKs are in a draft state, discard the release. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found