Skip to content
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

Amazon Appstore support #583

Open
jakubvimn opened this issue Jun 6, 2019 · 13 comments
Open

Amazon Appstore support #583

jakubvimn opened this issue Jun 6, 2019 · 13 comments
Labels
enhancement Indicates new feature requests feature:other Involves a feature that doesn't fit in existing categories
Milestone

Comments

@jakubvimn
Copy link

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 jakubvimn added the enhancement Indicates new feature requests label Jun 6, 2019
@SUPERCILEX
Copy link
Collaborator

SUPERCILEX commented Jun 6, 2019

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 SUPERCILEX added the feature:other Involves a feature that doesn't fit in existing categories label Jun 19, 2019
@SUPERCILEX SUPERCILEX added this to the 3.0.0 milestone Jul 11, 2019
@TakuSemba
Copy link

I want this too.

@AndreSand
Copy link

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

@BrantApps
Copy link

BrantApps commented Mar 15, 2020

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
Copy link

Would be really nice to have this.

@timbyu
Copy link

timbyu commented Jun 24, 2021

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
Copy link

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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link

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
Copy link

timbyu commented Jun 24, 2021

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
Copy link

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

@kenyee
Copy link

kenyee commented Nov 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests feature:other Involves a feature that doesn't fit in existing categories
Projects
None yet
Development

No branches or pull requests

9 participants