Skip to content

Instantly share code, notes, and snippets.

@candostdagdeviren
Last active May 11, 2023 04:41
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save candostdagdeviren/4ec70a11a0a6187079ed4da7ed975e4f to your computer and use it in GitHub Desktop.
Save candostdagdeviren/4ec70a11a0a6187079ed4da7ed975e4f to your computer and use it in GitHub Desktop.
Android Fastfile Example for Flutter application Fastlane integration
default_platform(:android)
platform :android do
desc "Submit a new QA Build to Crashlytics Beta"
lane :qa do
crashlytics(
api_token: 'CRASHLYTICS_API_TOKEN',
build_secret: 'CRASHLYTICS_BUILD_SECRET',
notes_path: 'qa-change.log',
groups: ['QA'],
notifications: true,
apk_path: 'APK_PATH.apk'
)
slack(
message: 'Successfully distributed a new Android QA build!',
slack_url: 'SLACK_URL'
)
# You can also use other beta testing services here
end
lane:alpha_release do
upload_to_play_store(
package_name: 'com.jimdo.boost',
track: 'alpha',
json_key: 'JSON_KEY.json',
apk: 'APK_PATH.apk',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true
)
slack(
message: 'Successfully distributed a new Android Alpha build to the Play Store!',
slack_url: 'SLACK_URL'
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment