Last active
October 8, 2024 07:35
-
-
Save candostdagdeviren/4ec70a11a0a6187079ed4da7ed975e4f to your computer and use it in GitHub Desktop.
Android Fastfile Example for Flutter application Fastlane integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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