Skip to content

Playstore rejecting app using nativescript/ firebase-core package #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
seena-alt opened this issue Sep 27, 2024 · 4 comments
Open

Playstore rejecting app using nativescript/ firebase-core package #270

seena-alt opened this issue Sep 27, 2024 · 4 comments

Comments

@seena-alt
Copy link

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.

@EdJones
Copy link

EdJones commented Sep 28, 2024

@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 = []
  }

@neryortez
Copy link

@seena-alt was this resolved ?

@EdJones
Copy link

EdJones commented Feb 21, 2025

@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

@neryortez
Copy link

This issue should be closed then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants