Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(pwa) add fastlane integration for building TWA APK

Saúl Ibarra Corretgéf2bbc874b373
diff --git a/twa/fastlane/Appfile b/twa/fastlane/Appfile
new file mode 100644
index 0000000000..f4690bfb7c
--- /dev/null
+++ b/twa/fastlane/Appfile
@@ -0,0 +1,2 @@
+json_key_file("")
+package_name("org.jitsi.meet")
diff --git a/twa/fastlane/Fastfile b/twa/fastlane/Fastfile
new file mode 100644
index 0000000000..6194e23400
--- /dev/null
+++ b/twa/fastlane/Fastfile
@@ -0,0 +1,25 @@
+ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1"
+opt_out_usage
+
+default_platform(:android)
+
+platform :android do
+ desc "Make a new build"
+ lane :build do
+ # Cleanup
+ gradle(task: "clean")
+
+ # Build and sign the app
+ gradle(
+ task: "assemble",
+ build_type: "Release",
+ print_command: false,
+ properties: {
+ "android.injected.signing.store.file" => ENV["JITSI_KEYSTORE"],
+ "android.injected.signing.store.password" => ENV["JITSI_KEYSTORE_PASSWORD"],
+ "android.injected.signing.key.alias" => ENV["JITSI_KEY_ALIAS"],
+ "android.injected.signing.key.password" => ENV["JITSI_KEY_PASSWORD"],
+ }
+ )
+ end
+end
diff --git a/twa/fastlane/README.md b/twa/fastlane/README.md
new file mode 100644
index 0000000000..af247508b1
--- /dev/null
+++ b/twa/fastlane/README.md
@@ -0,0 +1,29 @@
+fastlane documentation
+================
+# Installation
+
+Make sure you have the latest version of the Xcode command line tools installed:
+
+```
+xcode-select --install
+```
+
+Install _fastlane_ using
+```
+[sudo] gem install fastlane -NV
+```
+or alternatively using `brew install fastlane`
+
+# Available Actions
+## Android
+### android build
+```
+fastlane android build
+```
+Make a new build
+
+----
+
+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).