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.11k stars 340 forks source link

Amazon Appstore support #583

Open jakubvimn opened 5 years ago

jakubvimn commented 5 years ago

Problem description

The plugin can be used only for Google Play, but it doesn't support Amazon Appstore

Potential solutions/workarounds

Add the support to it by wrapping the Amazon App Submission API

Additional context

https://developer.amazon.com/docs/app-submission-api/overview.html

SUPERCILEX commented 5 years ago

I have some long-term plans for this, so thanks for opening the issue. 👍

Things to do:

TakuSemba commented 5 years ago

I want this too.

AndreSand commented 5 years ago

I will use the feature to publish to Amazon store :)

BrantApps commented 4 years ago

Just so you know I built a plugin inspired by this one to automate my publishing to the Amazon App Store. @SUPERCILEX I'm not sure how much is PR'able to be able to merge into this product's functionality but do take a look if you'd like to cargo anything.

https://github.com/BrantApps/gradle-amazon-app-store-publisher

ScottPierce commented 3 years ago

Would be really nice to have this.

timbyu commented 3 years ago

I am so anxious for this I am willing to work on the ticket. The documentation provided is great for publishing. Is there any documentation for extending this tool? Or suggestions for what files I should modify to add this functionality?

Tim

ScottPierce commented 3 years ago

I feel that Amazon's documentation around this API is very poor (as most of their developer documentation is). I would have happily done this work a few months ago, but I couldn't even find the proper way.

SUPERCILEX commented 3 years ago

Feel free to give it a go. The first step would be to create a directory called amazon/plugin and stand up a new plugin in there. Then you'd want to add a proof of concept APK publishing task. After that pull out the API layer into amazon/amazon-publisher and finally we'd want to figure out how to make the plugin production ready with code reuse and tests. Note that I can't find an SDK for the amazon API which would be a huge bummer of it doesn't exist.

SUPERCILEX commented 3 years ago

I couldn't even find the proper way

Yeah, I think you'd have to use retrofit or something and manually connect the dots.

BrantApps commented 3 years ago

I have a working gradle plugin that uploads binaries to the Amazon Developer Console to help you get a feel of how to connect the dots @ScottPierce & @timbyu!

Here it is.

The general gist of it can be gleaned from the console output the plugin generates...

20210624_213054.jpg

The code is quite boring. I hadn't written much Kotlin at the time either so probably looks like very Java-ry Kotlin but easy to evolve if you want to bootstrap.

timbyu commented 3 years ago

The Amazon documentation can be found here https://developer.amazon.com/docs/app-submission-api/overview.html. Using David Branton's solution (Thanks David) I was successfully able to upload the APK to Amazon but I would like to use this tool as a single solution for both stores. I am not experienced with Kotlin so it will take me a while to get it up and running. If any of you with experience are willing to look at Branton's solution https://github.com/BrantApps/gradle-amazon-app-store-publisher as an example I will hold off. If not, I will give it a go. Thanks for the quick responses!

ursusursus commented 3 years ago

People will want this since Windows 11 will include the amazon app store

kenyee commented 10 months ago

Might as well ask for the Samsung App Store too if the upload API can be generalized :-)

joshuamking commented 2 weeks ago

The Samsung App Store would seriously be amazing..