Instantly share code, notes, and snippets.

Embed
What would you like to do?
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