gradle-play-publisher icon indicating copy to clipboard operation
gradle-play-publisher copied to clipboard

Amazon Appstore support

Open jakubvimn opened this issue 5 years ago • 13 comments

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

jakubvimn avatar Jun 06 '19 12:06 jakubvimn

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

Things to do:

  • Publish the non-plugin modules to Jcenter instead of building fat JARs
  • Extract the apk and listing tasks to a core plugin module also published to Jcenter
    • These have an abstract field to instantiate a shared publishing interface and another field or fields for input files
  • Rename the extracted play tasks to include Play somewhere in the name such that there aren't conflicts

SUPERCILEX avatar Jun 06 '19 17:06 SUPERCILEX

I want this too.

TakuSemba avatar Jul 25 '19 04:07 TakuSemba

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

AndreSand avatar Sep 20 '19 20:09 AndreSand

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

BrantApps avatar Mar 15 '20 13:03 BrantApps

Would be really nice to have this.

ScottPierce avatar Feb 21 '21 17:02 ScottPierce

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

timbyu avatar Jun 24 '21 19:06 timbyu

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.

ScottPierce avatar Jun 24 '21 19:06 ScottPierce

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 avatar Jun 24 '21 20:06 SUPERCILEX

I couldn't even find the proper way

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

SUPERCILEX avatar Jun 24 '21 20:06 SUPERCILEX

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.

BrantApps avatar Jun 24 '21 20:06 BrantApps

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!

timbyu avatar Jun 24 '21 20:06 timbyu

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

ursusursus avatar Jun 26 '21 01:06 ursusursus

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

kenyee avatar Nov 20 '23 20:11 kenyee