Open jakubvimn opened 5 years ago
I have some long-term plans for this, so thanks for opening the issue. 👍
Things to do:
Play
somewhere in the name such that there aren't conflictsI want this too.
I will use the feature to publish to Amazon store :)
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
Would be really nice to have this.
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
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.
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.
I couldn't even find the proper way
Yeah, I think you'd have to use retrofit or something and manually connect the dots.
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...
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.
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!
People will want this since Windows 11 will include the amazon app store
Might as well ask for the Samsung App Store too if the upload API can be generalized :-)
The Samsung App Store would seriously be amazing..
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