Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.1k stars 339 forks source link

This app has no data safety declaration #1064

Closed hannesa2 closed 1 year ago

hannesa2 commented 1 year ago

With plugin

    classpath 'com.android.tools.build:gradle:7.2.2'
    classpath 'com.github.triplet.gradle:play-publisher:3.7.0'

I suddenly run into this

A failure occurred while executing com.github.triplet.gradle.play.tasks.CommitEdit$Committer 400 Bad Request POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/info.audio.analyse/edits/13033420723244839709:commit?changesNotSentForReview=false { "code": 400, "errors": [ { "domain": "global", "message": "This app has no data safety declaration.", "reason": "badRequest" } ], "message": "This app has no data safety declaration.", "status": "INVALID_ARGUMENT" }

Does someone knows what's wrong here ?

SUPERCILEX commented 1 year ago

https://support.google.com/googleplay/android-developer/answer/10787469?hl=en