{"id":21944754,"url":"https://github.com/browserstack/browserstack-fastlane-plugin","last_synced_at":"2025-04-23T08:04:00.068Z","repository":{"id":52191966,"uuid":"135544078","full_name":"browserstack/browserstack-fastlane-plugin","owner":"browserstack","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-01T11:15:42.000Z","size":6848,"stargazers_count":21,"open_issues_count":10,"forks_count":17,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-23T08:03:40.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-31T06:51:13.000Z","updated_at":"2025-04-10T05:14:40.000Z","dependencies_parsed_at":"2024-06-19T17:12:11.354Z","dependency_job_id":"418e1f95-e897-4a91-a16e-f26cf267879e","html_url":"https://github.com/browserstack/browserstack-fastlane-plugin","commit_stats":{"total_commits":30,"total_committers":6,"mean_commits":5.0,"dds":"0.43333333333333335","last_synced_commit":"1e77f4824bf86eb2a9b3b2f74a858ab155a3a8cc"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fbrowserstack-fastlane-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fbrowserstack-fastlane-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fbrowserstack-fastlane-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fbrowserstack-fastlane-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/browserstack-fastlane-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250395279,"owners_count":21423400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T04:17:02.849Z","updated_at":"2025-04-23T08:04:00.042Z","avatar_url":"https://github.com/browserstack.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# browserstack-fastlane-plugin\n\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-browserstack)\n\n## Getting Started\n\nThis project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-browserstack`, add it to your project by running:\n\n```bash\nfastlane add_plugin browserstack\n```\n\n## About\n\nUploads IPA, APK and AAB files to BrowserStack for automation and manual testing.\n\n## Documentation\n\nRefer [App Automate](https://www.browserstack.com/app-automate/appium/fastlane) and [App Live](https://www.browserstack.com/app-live/fastlane) for more information on using this plugin.\n\n\n## Example\n\nPlease refer this [sample android project](https://github.com/browserstack/browserstack-android-sample-app), which demonstrates the use of this plugin.\nYou can easily upload your app using [BrowserStack fastlane Plugin](https://rubygems.org/gems/fastlane-plugin-browserstack) and execute your test on BrowserStack cloud. In order to configure the plugin add below action in your Fastfile. You can also check our [repository](https://github.com/browserstack/browserstack-fastlane-plugin).\n```\nupload_to_browserstack_app_automate(\n  browserstack_username: ENV[\"BROWSERSTACK_USERNAME\"],\n  browserstack_access_key: ENV[\"BROWSERSTACK_ACCESS_KEY\"],\n  file_path: \"\u003cpath_to_your_apk_ipa_or_aab_file\u003e\",\n  custom_id: \"\u003ccustom_id_name\u003e\"\n)\n```\n```\nNote: custom_id is optional. You can upload multiple builds under the same custom_id.   \nUse custom_id in 'app' capability for Appium to always pick the last uploaded build.   \nThe file_path parameter is not required if the app was built in the same lane with the help of Gradle or Gym plugin.\n```\n\nFor uploading your app to AppLive use the following action in the fastfile\n```\nupload_to_browserstack_app_live(\n  browserstack_username: ENV[\"BROWSERSTACK_USERNAME\"],\n  browserstack_access_key: ENV[\"BROWSERSTACK_ACCESS_KEY\"],\n  file_path: \"\u003cpath_to_your_apk_ipa_or_aab_file\u003e\"\n)\n```\nCheck out the example [Fastfile](https://github.com/browserstack/browserstack-fastlane-plugin/blob/master/fastlane/Fastfile) to see how to use this plugin. Try it by including that in your project's Fastfile, running `fastlane install_plugins` and `bundle exec fastlane test`. Please refer to this [sample android project](https://github.com/browserstack/browserstack-android-sample-app), which demonstrates the use of this plugin.\n\nOnce the app upload is successful, the app id of the app will be stored in an environment variable, \"BROWSERSTACK_APP_ID\" and it can be accessed in your tests in the following way :\n```\nString app = System.getenv(\"BROWSERSTACK_APP_ID\"); // Get app id from environment variable.\ncapabilities.setCapability(\"app\", app); // Add app id to driver capability.\n```\n\n\n## Run tests for this plugin\n\nTo run both the tests, and code style validation, run\n\n```\nrake\n```\n\nTo automatically fix many of the styling issues, use\n```\nrubocop -a\n```\n\n## Issues and Feedback\n\nFor any other issues and feedback about this plugin, please submit it to this repository.\n\n## Troubleshooting\n\nIf you have trouble using plugins, check out the [Plugins Troubleshooting guide](https://docs.fastlane.tools/plugins/plugins-troubleshooting/).\n\n## Using _fastlane_ Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).\n\n## About _fastlane_\n\n_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fbrowserstack-fastlane-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fbrowserstack-fastlane-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fbrowserstack-fastlane-plugin/lists"}