diff --git a/fastlane/Appfile b/fastlane/Appfile new file mode 100644 index 00000000..dbe8a58a --- /dev/null +++ b/fastlane/Appfile @@ -0,0 +1,2 @@ +json_key_file "~/.fastlaneconfig/androiddev-console-darken_development-4f6965ff0eda.json" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one +package_name "eu.darken.capod" # e.g. com.krausefx.app diff --git a/fastlane/Fastfile b/fastlane/Fastfile new file mode 100644 index 00000000..2744a7a1 --- /dev/null +++ b/fastlane/Fastfile @@ -0,0 +1,63 @@ +# Customise this file, documentation can be found here: +# https://docs.fastlane.tools/actions/ +# All available actions: https://docs.fastlane.tools/actions +# can also be listed using the `fastlane actions` command + +# Change the syntax highlighting to Ruby +# All lines starting with a # are ignored when running `fastlane` + +# If you want to automatically update fastlane if a new version is available: +# update_fastlane + +# This is the minimum version number required. +# Update this, if you use features of a newer version +fastlane_version "2.137.0" + +default_platform :android + +platform :android do + before_all do + #ensure_git_status_clean + end + + lane :beta do + ensure_git_branch(branch: 'dev') + git_pull + gradle(task: 'clean assembleRelease') + supply(track: 'beta') + end + + lane :production do + ensure_git_branch(branch: 'master') + git_pull + gradle(task: 'clean assembleRelease') + supply(track: 'rollout', rollout: '0.1') + end + + lane :listing_only do + sh "bash ./remove_unsupported_languages.sh" + supply( + track: 'production', + skip_upload_apk: 'true', + skip_upload_images: 'true', + skip_upload_screenshots: 'true', + skip_upload_changelogs: true, + skip_upload_aab: 'true' + ) + end + + after_all do |lane| + # This block is called, only if the executed lane was successful + + # slack( + # message: "Successfully deployed new App Update." + # ) + end + + error do |lane, exception| + # slack( + # message: exception.message, + # success: false + # ) + end +end \ No newline at end of file diff --git a/fastlane/README.md b/fastlane/README.md new file mode 100644 index 00000000..23a2434e --- /dev/null +++ b/fastlane/README.md @@ -0,0 +1,46 @@ +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 cask install fastlane` + +# Available Actions + +## Android + +### android beta + +``` +fastlane android beta +``` + +### android production + +``` +fastlane android production +``` + +### android listing_only + +``` +fastlane android listing_only +``` + +---- + +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/fastlane/metadata/android/en-US/changelogs/10000.txt b/fastlane/metadata/android/en-US/changelogs/10000.txt new file mode 100644 index 00000000..27803073 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/10000.txt @@ -0,0 +1,2 @@ +v1.0.0: +- Initial release. \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt new file mode 100644 index 00000000..56a782da --- /dev/null +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -0,0 +1,17 @@ +CAPod is a companion app for AirPods. + +Features: +* Battery level for pods & cases. +* Charging status for pods & case. +* Additional infos about connection, microphone & case. +* Can receive and show all nearby devices. +* Ear detection with automatic play/pause. +* Automatically connect phone & airpods. +* Show popup when case is opened. + +CAPod is ad-free. Some additional features require an in-app purchase. + +Most popular AirPods and Beats devices are supported. +If your device is similar to AirPods but not yet supported, send me a quick mail. + +Got a cool idea for a new feature? Reach out! \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/images/icon.png b/fastlane/metadata/android/en-US/images/icon.png new file mode 100644 index 00000000..c0194328 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/icon.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png new file mode 100644 index 00000000..69ee5d93 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png new file mode 100644 index 00000000..94fd26f5 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png new file mode 100644 index 00000000..98c040f7 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png new file mode 100644 index 00000000..c6ff45d1 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png differ diff --git a/fastlane/metadata/android/en-US/short_description.txt b/fastlane/metadata/android/en-US/short_description.txt new file mode 100644 index 00000000..1ffcfeb9 --- /dev/null +++ b/fastlane/metadata/android/en-US/short_description.txt @@ -0,0 +1 @@ +CAPod is a companion app for AirPods on Android. \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/title.txt b/fastlane/metadata/android/en-US/title.txt new file mode 100644 index 00000000..2361a006 --- /dev/null +++ b/fastlane/metadata/android/en-US/title.txt @@ -0,0 +1 @@ +CAPod - Companion for AirPods \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/video.txt b/fastlane/metadata/android/en-US/video.txt new file mode 100644 index 00000000..e69de29b diff --git a/fastlane/remove_unsupported_languages.sh b/fastlane/remove_unsupported_languages.sh new file mode 100644 index 00000000..4032a9a8 --- /dev/null +++ b/fastlane/remove_unsupported_languages.sh @@ -0,0 +1,11 @@ +#!/bin/sh +echo "Removing unsupported languages..." +echo `pwd` +rm -rv ./metadata/android/es-AR +rm -rv ./metadata/android/sc-IT +rm -rv ./metadata/android/sq-AL +rm -rv ./metadata/android/uz +rm -rv ./metadata/android/pcm-NG +rm -rv ./metadata/android/tl-PH +find ./metadata/android -empty -type d -delete +exit 0 \ No newline at end of file