{"id":43629474,"url":"https://github.com/fastlane-community/fastlane-plugin-ionic","last_synced_at":"2026-02-04T16:41:45.861Z","repository":{"id":47025030,"uuid":"106036438","full_name":"fastlane-community/fastlane-plugin-ionic","owner":"fastlane-community","description":"Integrate your Ionic build into your Fastlane setup","archived":false,"fork":false,"pushed_at":"2022-10-25T19:07:03.000Z","size":95,"stargazers_count":89,"open_issues_count":40,"forks_count":46,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-13T22:46:18.925Z","etag":null,"topics":["fastlane-plugin","ionic"],"latest_commit_sha":null,"homepage":"","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/fastlane-community.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":null,"security":null,"support":null}},"created_at":"2017-10-06T18:17:28.000Z","updated_at":"2025-04-29T20:59:57.000Z","dependencies_parsed_at":"2022-09-17T21:53:08.069Z","dependency_job_id":null,"html_url":"https://github.com/fastlane-community/fastlane-plugin-ionic","commit_stats":null,"previous_names":["ionic-zone/fastlane-plugin-ionic"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/fastlane-community/fastlane-plugin-ionic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastlane-community%2Ffastlane-plugin-ionic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastlane-community%2Ffastlane-plugin-ionic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastlane-community%2Ffastlane-plugin-ionic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastlane-community%2Ffastlane-plugin-ionic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastlane-community","download_url":"https://codeload.github.com/fastlane-community/fastlane-plugin-ionic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastlane-community%2Ffastlane-plugin-ionic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29091298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastlane-plugin","ionic"],"created_at":"2026-02-04T16:41:45.242Z","updated_at":"2026-02-04T16:41:45.852Z","avatar_url":"https://github.com/fastlane-community.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# _fastlane_ Plugin for Ionic CLI\n\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-ionic) [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/ionic-zone/fastlane-plugin-ionic/blob/master/LICENSE)\n[![Gem](https://img.shields.io/gem/v/fastlane-plugin-ionic.svg?style=flat)](http://rubygems.org/gems/fastlane-plugin-ionic)\n\nThis _fastlane_ plugin helps you build your **Ionic Cordova** project via the [`ionic` CLI](https://ionicframework.com/docs/cli/).\n\nIt is based on [fastlane-plugin-cordova](https://github.com/bamlab/fastlane-plugin-cordova) (where it borrows a lot of its code. Thanks!).\n\n## Getting Started\n\nThis project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-ionic`, add it to your project by running:\n\n```bash\nfastlane add_plugin ionic\n```\n\n## Actions\n\n### `ionic`\n\nRuns `ionic cordova build` (technically: `ionic cordova prepare` first, then `ionic cordova compile` [which is the same as what `build` does internally]) to build your Ionic project.\n\n```ruby\nionic(\n  platform: 'ios', # Build your iOS Ionic project\n)\nionic(\n  platform: 'android', # Build your Android Ionic project\n  release: false # Build a \"Debug\" app\n)\n```\n\n\n## Examples\n\nLanes using these actions could look like this:\n\n```ruby\nplatform :ios do\n  desc \"Deploy ios app on the appstore\"\n\n  lane :deploy do\n    match(type: \"appstore\")\n    ionic(platform: 'ios')\n    deliver(ipa: ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'])\n  end\nend\n\nplatform :android do\n  desc \"Deploy android app on play store\"\n\n  lane :deploy do\n    ionic(\n      platform: 'android',\n      keystore_path: './prod.keystore',\n      keystore_alias: 'prod',\n      keystore_password: 'password'\n    )\n    supply(apk: ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'])\n  end\nend\n```\n\nwith an `Appfile` such as\n\n```ruby\napp_identifier \"com.awesome.app\"\napple_id \"apple@id.com\"\nteam_id \"28323HT\"\n```\n\n---\n\nThe `ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH']` is only valid for `cordova-android` 7.x and newer (which you should be using anyway!).\n\nIf you're using **Crosswalk** (which oyu should not really be doing anymore), replace `supply(apk: ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'])` (and equivalents) by:\n\n```ruby\nsupply(\n  apk_paths: [\n   'platforms/android/build/outputs/apk/android-armv7-release.apk',\n   'platforms/android/build/outputs/apk/android-x86-release.apk'\n  ],\n)\n```\n\n## Plugin API\n\nTo check what's available in the plugin, install it in a project and run at the root of the project:\n\n```\nfastlane actions ionic\n```\n\nWhich will produce:\n\n| Key | Description | Env Var | Default |\n|-----|-------------|---------|---------|\n| **platform**             | Platform to build on. \u003cbr\u003eShould be either android or ios | CORDOVA_PLATFORM            |        |\n| **release**              | Build for release if true,\u003cbr\u003eor for debug if false       | CORDOVA_RELEASE             | *true* |\n| **device**               | Build for device                                          | CORDOVA_DEVICE              | *true* |\n| **prod**                 | Build for production                                      | IONIC_PROD                  | *false* |\n| **type**                 | This will determine what type of build is generated by Xcode. \u003cbr\u003eValid options are development, enterprise, adhoc, and appstore| CORDOVA_IOS_PACKAGE_TYPE    | appstore |\n| **verbose**              | Pipe out more verbose output to the shell | CORDOVA_VERBOSE    | false |\n| **team_id**              | The development team (Team ID) to use for code signing  | CORDOVA_IOS_TEAM_ID               | *28323HT* |\n| **provisioning_profile** | GUID of the provisioning profile to be used for signing | CORDOVA_IOS_PROVISIONING_PROFILE  |           |\n| **android_package_type**         | This will determine what type of Android build is generated. Valid options are `apk` and `bundle` | CORDOVA_ANDROID_PACKAGE_TYPE    | apk |\n| **keystore_path**        | Path to the Keystore for Android                        | CORDOVA_ANDROID_KEYSTORE_PATH     |           |\n| **keystore_password**    | Android Keystore password                               | CORDOVA_ANDROID_KEYSTORE_PASSWORD |           |\n| **key_password**         | Android Key password (default is keystore password)     | CORDOVA_ANDROID_KEY_PASSWORD      |           |\n| **keystore_alias**       | Android Keystore alias                                  | CORDOVA_ANDROID_KEYSTORE_ALIAS    |           |\n| **build_number**         | Sets the build number for iOS and  version code for Android   | CORDOVA_BUILD_NUMBER              |           |\n| **browserify**           | Specifies whether to browserify build or not            | CORDOVA_BROWSERIFY                |  *false*  |\n| **cordova_prepare**      | Specifies whether to run `ionic cordova prepare` before building  | CORDOVA_PREPARE               |  *true*   |\n| **min_sdk_version**      | Overrides the value of minSdkVersion set in `AndroidManifest.xml` | CORDOVA_ANDROID_MIN_SDK_VERSION   | ''       |\n| **cordova_no_fetch**      | Specifies whether to run `ionic cordova platform add` with `--nofetch` parameter  | CORDOVA_NO_FETCH               |  *false*   |\n| **cordova_no_resources** | Specifies whether to run `ionic cordova platform add` with `--no-resources` parameter  | CORDOVA_NO_RESOURCES               |  *false*   |\n| **build_flag**           | An array of Xcode buildFlag. Will be appended on compile command.  | CORDOVA_IOS_BUILD_FLAG               | [] |\n| **cordova_build_config_file**      | Call `ionic cordova compile` with `--buildConfig=\u003cConfigFile\u003e` to specify build config file path  | CORDOVA_BUILD_CONFIG_FILE               |     |\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](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.\n\n## Using `fastlane` Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md).\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastlane-community%2Ffastlane-plugin-ionic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastlane-community%2Ffastlane-plugin-ionic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastlane-community%2Ffastlane-plugin-ionic/lists"}