All Projects â†’ bamlab â†’ Fastlane Plugin Cordova

bamlab / Fastlane Plugin Cordova

Licence: mit
Integrate your Cordova build into your Fastlane setup

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Fastlane Plugin Cordova

ionic4-boilerplate
🚀 boilerplate for ionic4 with CI based on travis and fastlane. doc and example are provided
Stars: ✭ 25 (-75%)
Mutual labels:  cordova, fastlane
elm-cordova-intro
Getting started with Elm, Cordova and Fastlane
Stars: ✭ 16 (-84%)
Mutual labels:  cordova, fastlane
Kotlin Android Fastlane Firebase App Distribution
A repository that shows how to use Firebase App Distribution to distribute android app to testers by fastlane.
Stars: ✭ 77 (-23%)
Mutual labels:  fastlane
Google Analytics Plugin
Cordova Google Analytics Plugin for Android & iOS
Stars: ✭ 90 (-10%)
Mutual labels:  cordova
Phaser Es6 Webpack
A bootstrap project for create games with Phaser + ES6 + Webpack.
Stars: ✭ 1,266 (+1166%)
Mutual labels:  cordova
Xgpush Cordova
č…ūčŪŊäŋĄéļ―æŽĻ送 for Cordova
Stars: ✭ 78 (-22%)
Mutual labels:  cordova
Bitnfc
Bitcoin NFC Android Mobile Wallet - JS + Ionic + Cordova + Bitcore + Blockchain.info API + Cordova NFC plugin
Stars: ✭ 88 (-12%)
Mutual labels:  cordova
Framework7 Cli
Framework7 command line utility
Stars: ✭ 76 (-24%)
Mutual labels:  cordova
Generator Ngx Rocket
🚀 Extensible Angular 11+ enterprise-grade project generator
Stars: ✭ 1,329 (+1229%)
Mutual labels:  cordova
Docker Ionic
ðŸŽĒ Docker image for Ionic (with Android & Cordova)
Stars: ✭ 85 (-15%)
Mutual labels:  cordova
Cordova Plugin Remote Injection
DEPRECATED: Cordova plugin to allow a remote site to interact with cordova's javascript APIs when loaded within a cordova app.
Stars: ✭ 90 (-10%)
Mutual labels:  cordova
Stepik Ios
iOS Application for Taking Open Courses on the Stepik Platform
Stars: ✭ 84 (-16%)
Mutual labels:  fastlane
Framework7 Template Vue Simple
Deprecated! Simple Framework7 Vue starter app template in a single HTML file
Stars: ✭ 81 (-19%)
Mutual labels:  cordova
Examples
📝 A collection of example fastlane setups
Stars: ✭ 1,289 (+1189%)
Mutual labels:  fastlane
Sentry Wizard
Sentry Project Setup Wizard
Stars: ✭ 78 (-22%)
Mutual labels:  cordova
Cordova Plugin Background Mode
Keep app running in background
Stars: ✭ 1,306 (+1206%)
Mutual labels:  cordova
Cordova Plugin Camera Preview Sample App
cordova-plugin-camera-preview Sample App
Stars: ✭ 76 (-24%)
Mutual labels:  cordova
Phaser Ads
A Phaser plugin for providing nice ads integration in your phaser.io game
Stars: ✭ 84 (-16%)
Mutual labels:  cordova
Intercom Cordova
Cordova/PhoneGap plugin for Intercom
Stars: ✭ 88 (-12%)
Mutual labels:  cordova
Pdf Generator
Cordova plugin to generate pdf in the client-side
Stars: ✭ 98 (-2%)
Mutual labels:  cordova

Cordova Plugin

fastlane Plugin Badge

Features

  • Build your Cordova project inside a lane
  • Automatically handle code signing on iOS, even for XCode 8

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-cordova, add it to your project by running:

fastlane add_plugin cordova

⚠ïļ If you're using a Cordova version below 7, you need to use version 1.0.1 of this plugin

Then you can integrate it into your Fastlane setup:

platform :ios do
  desc "Deploy ios app on the appstore"

  lane :deploy do
    match(type: "appstore")
    cordova(platform: 'ios')
    appstore(ipa: ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'])
  end
end

platform :android do
  desc "Deploy android app on play store"

  lane :deploy do
    cordova(
      platform: 'android',
      keystore_path: './prod.keystore',
      keystore_alias: 'prod',
      keystore_password: 'password'
    )
    supply(apk: ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'])
  end
end

with an Appfile such as

app_identifier "com.awesome.app"
apple_id "[email protected]"
team_id "28323HT"

If using Crosswalk, replace supply(apk: ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH']) by:

supply(
  apk_paths: [
   'platforms/android/build/outputs/apk/android-armv7-release.apk',
   'platforms/android/build/outputs/apk/android-x86-release.apk'
  ],
)

Plugin API

To check what's available in the plugin, install it in a project and run at the root of the project:

fastlane actions cordova

Which will produce:

Key Description Env Var Default
platform Platform to build on.
Should be either android or ios
CORDOVA_PLATFORM
release Build for release if true,
or for debug if false
CORDOVA_RELEASE true
device Build for device CORDOVA_DEVICE true
type This will determine what type of build is generated by Xcode.
Valid options are development, enterprise, adhoc, and appstore
CORDOVA_IOS_PACKAGE_TYPE appstore
team_id The development team (Team ID) to use for code signing CORDOVA_IOS_TEAM_ID 28323HT
build_flag An array of Xcode buildFlag. Will be appended on compile command. CORDOVA_IOS_BUILD_FLAG []
provisioning_profile GUID of the provisioning profile to be used for signing CORDOVA_IOS_PROVISIONING_PROFILE
keystore_path Path to the Keystore for Android CORDOVA_ANDROID_KEYSTORE_PATH
keystore_password Android Keystore password CORDOVA_ANDROID_KEYSTORE_PASSWORD
key_password Android Key password (default is keystore password) CORDOVA_ANDROID_KEY_PASSWORD
keystore_alias Android Keystore alias CORDOVA_ANDROID_KEYSTORE_ALIAS
min_sdk_version Overrides the value of minSdkVersion CORDOVA_ANDROID_MIN_SDK_VERSION
build_number Build Number for iOS and Android CORDOVA_BUILD_NUMBER
browserify Specifies whether to browserify build or not CORDOVA_BROWSERIFY false
cordova_prepare Specifies whether to run cordova prepare before building CORDOVA_PREPARE true
cordova_no_fetch Specifies whether to run cordova platform add with --nofetch parameter CORDOVA_NO_FETCH false
cordova_build_config_file Call cordova compile with --buildConfig=<ConfigFile> to specify build config file path CORDOVA_BUILD_CONFIG_FILE

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].