Problem with a missing paramter?
I'm trying to upload a file to play store and I'm getting the following error:
npx apkup upload -k ./playstore_service_account.json -a $aabVersioned -t 'internal'
- Uploading APK...
ERROR: Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true. Once committed, the changes in this edit can be sent for review from the Google Play Console UI.
Is there a problem with my code? this used to work in the past... probably a change in google store API?
@HarelM Could you please run it again but set the DEBUG variable to this first:
export DEBUG=apkup:*
Then send the log from that.
I've not seen this error message before. It's possible that it is either an API change (although, I think unlikely) or your app is in some state that has different requirements.
This may be helpful: https://github.com/Triple-T/gradle-play-publisher/issues/956#issuecomment-847691895
Seems like the root cause sound similar as I recently got my app rejected (not sure why) and it might be that it's the same. The solution there seems like a good solution to me as well... If this could be implemented here as well it would be great. Thanks for this awesome library and the super quick response!
Any update on this issue ? How to send the query parameters ?
Hey guys, I implemented --changesNotSentForReview switch which fixes the issue.
Hey @nprail , great work here. I created PR for this key https://github.com/eventOneHQ/apkup/pull/69
If Noah will not be able to merge then everyone can use our scoped version:
npx @devforth/apkup \
upload \
--changesNotSentForReview \
--track 'internal' \
--key ~/keys/XXYYUUII.json \
--apk build/app/outputs/bundle/release/app-release.aab \
--release-notes "en-US=New Version $versionName: $1"