From 06e652868848a4610b364efc2a57a03522e9b0c2 Mon Sep 17 00:00:00 2001 From: Peter Kyeyune Date: Fri, 13 Dec 2024 13:27:44 +0300 Subject: [PATCH] Add Fastlane plugin for Firebase App Distribution and update Gemfile --- mobile-v3/android/Gemfile | 3 ++ mobile-v3/android/Gemfile.lock | 10 ++++++- mobile-v3/android/fastlane/Pluginfile | 1 + mobile-v3/android/fastlane/README.md | 40 +++++++++++++++++++++++++++ mobile-v3/android/fastlane/report.xml | 13 +++++++++ 5 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 mobile-v3/android/fastlane/Pluginfile create mode 100644 mobile-v3/android/fastlane/README.md create mode 100644 mobile-v3/android/fastlane/report.xml diff --git a/mobile-v3/android/Gemfile b/mobile-v3/android/Gemfile index 7a118b49be..cdd3a6b349 100644 --- a/mobile-v3/android/Gemfile +++ b/mobile-v3/android/Gemfile @@ -1,3 +1,6 @@ source "https://rubygems.org" gem "fastlane" + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/mobile-v3/android/Gemfile.lock b/mobile-v3/android/Gemfile.lock index 0f033ea62b..62dbf8f284 100644 --- a/mobile-v3/android/Gemfile.lock +++ b/mobile-v3/android/Gemfile.lock @@ -38,7 +38,7 @@ GEM domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (1.0.0) + excon (0.112.0) faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -110,6 +110,9 @@ GEM xcodeproj (>= 1.13.0, < 2.0.0) xcpretty (~> 0.4.0) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-plugin-firebase_app_distribution (0.9.1) + google-apis-firebaseappdistribution_v1 (~> 0.3.0) + google-apis-firebaseappdistribution_v1alpha (~> 0.2.0) fastlane-sirp (1.0.0) sysrandom (~> 1.0) gh_inspector (1.1.3) @@ -123,6 +126,10 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.a) rexml + google-apis-firebaseappdistribution_v1 (0.3.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-firebaseappdistribution_v1alpha (0.2.0) + google-apis-core (>= 0.11.0, < 2.a) google-apis-iamcredentials_v1 (0.17.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) @@ -216,6 +223,7 @@ PLATFORMS DEPENDENCIES fastlane + fastlane-plugin-firebase_app_distribution BUNDLED WITH 2.5.22 diff --git a/mobile-v3/android/fastlane/Pluginfile b/mobile-v3/android/fastlane/Pluginfile new file mode 100644 index 0000000000..d1ef63eddd --- /dev/null +++ b/mobile-v3/android/fastlane/Pluginfile @@ -0,0 +1 @@ +gem 'fastlane-plugin-firebase_app_distribution' \ No newline at end of file diff --git a/mobile-v3/android/fastlane/README.md b/mobile-v3/android/fastlane/README.md new file mode 100644 index 0000000000..7f9f36193e --- /dev/null +++ b/mobile-v3/android/fastlane/README.md @@ -0,0 +1,40 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## Android + +### android play_store + +```sh +[bundle exec] fastlane android play_store +``` + +Deploy a new version to play store + +### android app_distribution + +```sh +[bundle exec] fastlane android app_distribution +``` + +Deploy to new version to Firebase App Distribution + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/mobile-v3/android/fastlane/report.xml b/mobile-v3/android/fastlane/report.xml new file mode 100644 index 0000000000..14cdb7907c --- /dev/null +++ b/mobile-v3/android/fastlane/report.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + +