firebase icon indicating copy to clipboard operation
firebase copied to clipboard

Playstore rejecting app using nativescript/ firebase-core package

Open seena-alt opened this issue 1 year ago • 4 comments

App is getting rejected from Playstore with below error. Please help to resolve this issue. We have tried to exclude the tagmanager package in app.gradle, but its not helping.

com.google.android.gms:play-services-tagmanager-v4-impl com.google.android.gms:play-services-tagmanager-v4-impl: Consider upgrading to a policy-compliant version of the SDK if available from your SDK provider, or removing the SDK.

Below are the dependencies in package.json

  "@nativescript/core": "~8.7.0",
"@nativescript/firebase-auth": "3.3.1",
"@nativescript/firebase-core": "3.3.1",
"@nativescript/firebase-firestore": "3.3.1",
"@nativescript/firebase-remote-config": "^3.3.1",

Please support with the solution. We are facing a chance of app suspension if we again submit and get rejected.

seena-alt avatar Sep 27 '24 15:09 seena-alt

@seena-alt, I don't think the problem is with firebase. I think you need to target a higher Android SDK version for your app: https://developer.android.com/google/play/requirements/target-sdk

I think you should be able to change this in AppResources>Android>app.gradle:

android {
  compileSdkVersion 33
  defaultConfig {
    minSdkVersion 21
    targetSdkVersion 33
    generatedDensities = []
  }

EdJones avatar Sep 28 '24 11:09 EdJones

@seena-alt was this resolved ?

neryortez avatar Feb 21 '25 07:02 neryortez

@seena-alt was this resolved ?

@neryortez the target level is now 34. You can still get the message after setting that, for various reasons: https://stackoverflow.com/questions/78729452/app-must-target-android-14-api-level-34-or-higher-is-showing-even-after-update

EdJones avatar Feb 21 '25 10:02 EdJones

This issue should be closed then.

neryortez avatar Feb 21 '25 13:02 neryortez