Lane: deliver_to_crashlytics

Description

This line is a custom wrapper above crashlyticsopen in new window.

Upload a new build to Crashlytics Beta.

Available

fastlane_configurations ~> 1.0.0

Overview

lane :deliver_to_crashlytics do |options|

  crashlytics_default_api_token = "96d8097e75a2b6f766ae5a0cb1604ce7ccd08ea8"
  crashlytics_default_build_secret = "a4a3ced10c3634ab6b91dd06144474234ae6db1897997492dbb006082fcd492a"
  crashlytics_default_groups = 'ios-testing'

  api_token =     options[:api_token] || crashlytics_default_api_token
  build_secret =  options[:build_secret] || crashlytics_default_build_secret
  what_to_test =  options[:what_to_test]
  groups =        options[:groups] || crashlytics_default_groups

  crashlytics(
    api_token: api_token,
    build_secret: build_secret,
    groups: groups,
    notes: what_to_test
  )

end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Usage

Update your Fastfile to contain the following code:

deliver_to_crashlytics(
	api_token: '96d8097e75a2b6f766ae5a0cb1604ce7ccd08ea8',
	build_secret: 'a4a3ced10c3634ab6b91dd06144474234ae6db1897997492dbb006082fcd492a',
	groups: 'ios-testing',
	notes: "Task #22167 Update 'User profile'"
)
1
2
3
4
5
6

Lane Parameters

KeyDescription
api_tokenCrashlytics API Key. Defaults to 96d8097e75a2b6f766ae5a0cb1604ce7ccd08ea8
build_secretCrashlytics Build Secret. Defaults to a4a3ced10c3634ab6b91dd06144474234ae6db1897997492dbb006082fcd492a
what_to_testThe release notes as string - uses :notes_path under the hood
groupsThe groups used for distribution, separated by commas. Defaults to ios-testing
  • How to get api_token value

Screenshot

  • How to get build_secret value

Screenshot

  • How to get groups value

Screenshot

Notes

  • If you don't have permission to open a file or folder, you may be able to ask your team lead about this.