Skip to content
Snippets Groups Projects
Unverified Commit 21c9a96d authored by mueller-ma's avatar mueller-ma Committed by GitHub
Browse files

Add fastlane templates for fdroid (#772)

* Add fastlane templates for fdroid

F-Droid has a different syntax highlighting: https://f-droid.org/en/docs/Build_Metadata_Reference/#Description



I also added a sentence about the removed features.

Signed-off-by: default avatarmueller-ma <mueller-ma@users.noreply.github.com>

* Revert "Use icon from play store (#773)"

The app icon with its white background looks better than an image with
transparent background.
This reverts commit 15645762.

* Add newline in F-Droid description

Signed-off-by: default avatarmueller-ma <mueller-ma@users.noreply.github.com>

* White background in the feature graphic

Signed-off-by: default avatarmueller-ma <mueller-ma@users.noreply.github.com>

* Add badges to readme

Signed-off-by: default avatarmueller-ma <mueller-ma@users.noreply.github.com>
parent d3163417
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,9 @@
openHAB Android application is a native client for openHAB. It uses REST API of openHAB to render sitemaps of your openHAB.
<a href="https://play.google.com/store/apps/details?id=org.openhab.habdroid"><img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" height="80"></a>
<a href="https://play.google.com/store/apps/details?id=org.openhab.habdroid"><img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="Get it on Play Store" height="80"></a>
<a href="https://f-droid.org/app/org.openhab.habdroid"><img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80"></a>
<a href="https://github.com/openhab/openhab-android/releases"><img src="https://raw.githubusercontent.com/openhab/openhab-android/master/assets/direct-apk-download.png" alt="Get it on GitHub" height="80"></a>
## Features
* Control your openHAB server and [openHAB Cloud instance](https://github.com/openhab/openhab-cloud)
......@@ -31,7 +33,7 @@ openHAB Android application is a native client for openHAB. It uses REST API of
* Discover devices and add them as items
* Supports wall mounted tablets
<img src="https://raw.githubusercontent.com/openhab/openhab.android/master/fastlane/metadata/android/en-US/phoneScreenshots/main_menu.png" width="200px"> <img src="https://raw.githubusercontent.com/openhab/openhab.android/master/fastlane/metadata/android/en-US/phoneScreenshots/widget_overview.png" width="200px"> <img src="https://raw.githubusercontent.com/openhab/openhab.android/master/fastlane/metadata/android/en-US/phoneScreenshots/astro_binding.png" width="200px">
<img src="https://raw.githubusercontent.com/openhab/openhab-android/master/fastlane/metadata/android/en-US/phoneScreenshots/main_menu.png" width="200px"> <img src="https://raw.githubusercontent.com/openhab/openhab-android/master/fastlane/metadata/android/en-US/phoneScreenshots/widget_overview.png" width="200px"> <img src="https://raw.githubusercontent.com/openhab/openhab-android/master/fastlane/metadata/android/en-US/phoneScreenshots/astro_binding.png" width="200px">
## Localization
......@@ -55,7 +57,7 @@ If you want to contribute to Android application we are here to help you to set
You are ready to contribute!
Before producing any amount of code please have a look at [contribution guidelines](https://github.com/openhab/openhab.android/blob/master/CONTRIBUTING.md)
Before producing any amount of code please have a look at [contribution guidelines](https://github.com/openhab/openhab-android/blob/master/CONTRIBUTING.md)
## Build flavors
......
assets/direct-apk-download.png

14 KiB

......@@ -29,3 +29,6 @@ important_note='Important note'
oh_server='You need a openHAB server for this app'
short_description='openHAB Android client'
fdroid='The builds on F-Droid have GCM and crash reporting removed and will not be able to receive push notifications from openHAB Cloud.'
beta='You can install the beta version alongside the stable version:'
$intro
$fdroid
$whatis
$rules
'''$supported'''
$bindings
• $home_automation_solutions: Z-Wave, EnOcean, Netatmo, Homematic, Insteon, ...
• $lighting: Philips Hue, Ikea Trådfri, LIFX, Lutron, Milight, ...
• $heating: Max!, Nest, Vitotronic, Heatmiser, ...
• $home_entertainment: Samsung TV, LG TV, Sonos, Pioneer AVR, Squeezebox, Kodi, Plex, ...
• $security: ZoneMinder, DSC, ...
• $open_protocols: HTTP, TCP/UDP, MQTT, Serial, ...
• $special_useCases: Minecraft, Tesla Car, Weather Services, ...
• ...
'''$oss_community'''
$forum
$report_issues
$translation
'''$foundation'''
$about_foundation
'''$important_note'''
$oh_server
$intro
$beta [org.openhab.habdroid]
$fdroid
$whatis
$rules
'''$supported'''
$bindings
• $home_automation_solutions: Z-Wave, EnOcean, Netatmo, Homematic, Insteon, ...
• $lighting: Philips Hue, Ikea Trådfri, LIFX, Lutron, Milight, ...
• $heating: Max!, Nest, Vitotronic, Heatmiser, ...
• $home_entertainment: Samsung TV, LG TV, Sonos, Pioneer AVR, Squeezebox, Kodi, Plex, ...
• $security: ZoneMinder, DSC, ...
• $open_protocols: HTTP, TCP/UDP, MQTT, Serial, ...
• $special_useCases: Minecraft, Tesla Car, Weather Services, ...
• ...
'''$oss_community'''
$forum
$report_issues
$translation
'''$foundation'''
$about_foundation
'''$important_note'''
$oh_server
......@@ -15,6 +15,16 @@ find fastlane/metadata/android/ -name "*_description.txt" -delete
error=0
full_description_template="assets/store_descriptions/full-description.txt.template"
if [[ "$1" == "fdroid" ]]
then
echo "Using template for F-Droid"
full_description_template="assets/store_descriptions/full-description-fdroid.txt.template"
elif [[ "$1" == "fdroidBeta" ]]
then
echo "Using template for F-Droid Beta"
full_description_template="assets/store_descriptions/full-description-fdroidbeta.txt.template"
fi
store_string_base="assets/store_descriptions"
app_string_base="mobile/src/main/res"
resource_base="fastlane/metadata/android"
......@@ -57,6 +67,8 @@ do
-e "s|\$about_foundation|$about_foundation|" \
-e "s|\$important_note|$important_note|" \
-e "s|\$oh_server|$oh_server|" \
-e "s|\$fdroid|$fdroid|" \
-e "s|\$beta|$beta|" \
"$full_description_template" > "${resource_base}/${lang}/full_description.txt"
echo $short_description > "${resource_base}/${lang}/short_description.txt"
......
fastlane/metadata/android/en-US/images/featureGraphic.png

6.4 KiB | W: | H:

fastlane/metadata/android/en-US/images/featureGraphic.png

11.4 KiB | W: | H:

fastlane/metadata/android/en-US/images/featureGraphic.png
fastlane/metadata/android/en-US/images/featureGraphic.png
fastlane/metadata/android/en-US/images/featureGraphic.png
fastlane/metadata/android/en-US/images/featureGraphic.png
  • 2-up
  • Swipe
  • Onion skin
fastlane/metadata/android/en-US/images/icon.png

48.5 KiB | W: | H:

fastlane/metadata/android/en-US/images/icon.png

48.1 KiB | W: | H:

fastlane/metadata/android/en-US/images/icon.png
fastlane/metadata/android/en-US/images/icon.png
fastlane/metadata/android/en-US/images/icon.png
fastlane/metadata/android/en-US/images/icon.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,6 +7,13 @@ manifest="mobile/src/main/AndroidManifest.xml"
echo "Configure git"
git config --local user.name "openhab-bot"
git config --local user.email "bot@openhab.org"
echo "Check for beta version"
if $(echo "$TRAVIS_TAG" | grep -q "beta")
then
bash assets/store_descriptions/generate_and_validate.sh fdroidBeta
else
bash assets/store_descriptions/generate_and_validate.sh fdroid
fi
echo "Git add"
git add fastlane/*
git add $manifest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment