Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added build flavour support to different app stores (google play, git…
…hub and fdroid now supported) Fix for #1016: Added support to rewrite the Android versionName and versionCode on the fly without touching the original AndroidManifest.xml so that we're not changing it every version bump.
- Loading branch information
1 parent
945f78f
commit 204d81c
Showing
8 changed files
with
129 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# These are for signing using a release buildtype | ||
#StoreFile=your_keystore_file_name | ||
#StorePassword=your_keystore_password | ||
#KeyAlias=your_key_alias | ||
#KeyPassword=your_key_password | ||
|
||
# This is an optional Mapbox API key | ||
#MapAPIKey=your_mapbox_api_key | ||
|
||
# This is your Mozilla Location Service API key | ||
# used to submit data. | ||
MozAPIKey=your_api_key_here | ||
|
||
# This is to enable crash reports. | ||
ACRA_URI=http://ec2-54-172-135-65.compute-1.amazonaws.com/acra-stumbler/_design/acra-storage/_update/report | ||
ACRA_USER=mozstumbler | ||
ACRA_PASS=attielintabl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is the F-Droid private.properties file | ||
# The only thing specific to f-droid is the Mozilla API Key. | ||
# If you are doing your own custom build, you can obtain | ||
# a unique Mozilla API key from : | ||
# https://location.services.mozilla.com/api | ||
|
||
# Your Mozilla API key. | ||
# Information to get an API key is here: | ||
# https://location.services.mozilla.com/api | ||
MozAPIKey=79c8c5e0-d178-4913-bd97-1e65bc377f74 | ||
|
||
# Common crash reporter keys | ||
ACRA_URI=http://ec2-54-172-135-65.compute-1.amazonaws.com/acra-stumbler/_design/acra-storage/_update/report | ||
ACRA_USER=mozstumbler | ||
ACRA_PASS=attielintabl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# bad hack to rename the final apk | ||
mkdir -p outputs | ||
cmd="cp android/build/outputs/apk/MozStumbler-$1.apk outputs/MozStumbler-v`cat VERSION`.apk" | ||
cmd="cp android/build/outputs/apk/MozStumbler-$1.apk outputs/MozStumbler-`git describe --abbrev=0 --tags`.apk" | ||
`${cmd}` |