Skip to content

ugroupmedia/fastlane-plugin-amazon-app-store-submission

Repository files navigation

fastlane-plugin-amazon-app-submission

Getting Started

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

fastlane add_plugin amazon_app_submission

About amazon_app_submission

Usage

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

For app_id you can get it from Amazon app dashboard Please set the apk path to apk_path field

Call amazon_app_submission in your Fastfile.

  amazon_app_submission(
    client_id: "<CLIENT_ID>",
    client_secret: "<CLIENT_SECRET>",
    app_id: "<APP_ID>",
    # Optional
    apk_path: "<APK_PATH>",
    upload_apk: true,
    changelogs_path:  "<CHANGELOG_PATH>",
    upload_changelogs: false,
    submit_for_review: false
  )
param default value optional description
client_id - false getting client id from Amazon developer console dashboard
client_secret - false getting client secret from Amazon developer console dashboard
app_id - false getting app id from Amazon developer console dashboard
apk_path - true link where you storing the release apk
upload_apk true true set this to false to not upload an apk. can be used to only upload changelogs
changelogs_path "" true setting the folder path where you have the change logs with different file for each language, if language file not found it will use default.txt
upload_changelogs false true updating the change logs for the upcoming version
submit_for_review false true submit the uploaded APK to the store
  • changelogs folder files name should be:
Language File name
English-US en-US.txt
English-British en-GB.txt
English-Australia en-AU.txt
English-India en-IN.txt
Italian it-IT.txt
French fr-FR.txt
Spanish es-ES.txt
Spanish-Mexican es-MX.txt
Other default.txt

Testing

For testing the plugin locally you have to get client_id, client_secret, app_id and apk_path in fastlane/Fastfile please check Usage step to see how you can get them.

Then call bundle exec fastlane test in your terminal