The project is in a healthy, maintained state
Upload apps to Amazon Appstore
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 0.22
>= 1.12.0, < 3.0.0
>= 2.199.0
~> 0.14
~> 13.0
~> 3.12
~> 1.50, < 1.51

Runtime

 Project Readme

amazon_appstore fastlane plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-amazon_appstore, add it to your project by running:

fastlane add_plugin amazon_appstore

About amazon_appstore

Upload the apk to the Amazon Appstore using the App Submission API.

Usage

Following the guide, you will need to generate client_id and client_secret to access the console in advance.

Call upload_to_amazon_appstore in your Fastfile.

upload_to_amazon_appstore(
  apk: "app/build/outputs/apk/release/app-release.apk",
  client_id: <YOUR_CLIENT_ID>,
  client_secret: <YOUR_CLIENT_SECRET>
)

Parameters

Key Description Default
package_name The package name of the application to use *
apk Path to the APK file to upload (optional if apk_paths is provided)
apk_paths An array of paths to APK files to upload (optional if apk is provided)
client_id The client ID you saved
client_secret The client secret you saved
skip_upload_changelogs Whether to skip uploading changelogs false
metadata_path Path to the directory containing the metadata files ./fastlane/metadata/android
changes_not_sent_for_review Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Amazon Appstore Console UI false
overwrite_upload Whether to allow overwriting an existing upload false
overwrite_upload_mode Upload strategy when overwrite_upload is true. Can be 'new' (delete existing edit and create new) or 'reuse' (reuse existing edit) new
timeout Timeout for read, open (in seconds) 300
  • = default value is dependent on the user's system

Changelogs

You can update the release notes by adding a file under changelogs/ in the same way as supply. The filename should exactly match the version code of the APK that it represents. You can also provide default notes that will be used if no files match the version code by adding a default.txt file.

When uploading multiple APKs with different version codes, the plugin will use the changelog from the highest version code, following the same approach as Fastlane's upload_to_play_store action.

└── fastlane
    └── metadata
        └── android
            ├── en-US
            │   └── changelogs
            │       ├── default.txt
            │       ├── 100000.txt
            │       └── 100100.txt
            └── fr-FR
                └── changelogs
                    ├── default.txt
                    └── 100100.txt

One difference from Google Play is that the Amazon Appstore always requires release notes to be entered before review. For this reason, - will be entered by default if the corresponding changelogs file is not found, or if the skip_upload_changelogs parameter is used.

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.