diff --git a/.gitignore b/.gitignore
index 7832756..ff2a804 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,6 +50,8 @@ buck-out/
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
+*/fastlane/test_output
+android/google_play.json
.env*
*.swp
diff --git a/README.md b/README.md
index 0c556d7..e96c0dd 100644
--- a/README.md
+++ b/README.md
@@ -33,10 +33,13 @@
DUSKEN_RELEASE_KEY_PASSWORD=
# Build
- yarn build-android
+ yarn build-android # Output is in android/app/build/outputs/apk
- # Output is in android/app/build/outputs/apk
+ # Note: Make sure you have the file android/google_play.json
+ # Ref: https://docs.fastlane.tools/actions/supply/#setup
+ # Publish android build to the Google Play beta track
+ yarn release-android
## Libraries
diff --git a/android/fastlane/Appfile b/android/fastlane/Appfile
new file mode 100644
index 0000000..4dd3226
--- /dev/null
+++ b/android/fastlane/Appfile
@@ -0,0 +1,2 @@
+json_key_file "google_play.json" # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
+package_name "no.neuf.chateau" # e.g. com.krausefx.app
diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile
new file mode 100644
index 0000000..f8ddca0
--- /dev/null
+++ b/android/fastlane/Fastfile
@@ -0,0 +1,27 @@
+# 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.62.1"
+
+default_platform :android
+
+platform :android do
+ desc "Submit a new build to the Google Play Beta track"
+ lane :beta do
+ # build the release variant
+ gradle(task: "assembleRelease")
+
+ # upload to Google Play
+ supply(track: "beta")
+ end
+end
diff --git a/android/fastlane/README.md b/android/fastlane/README.md
new file mode 100644
index 0000000..eead088
--- /dev/null
+++ b/android/fastlane/README.md
@@ -0,0 +1,48 @@
+fastlane documentation
+================
+# Installation
+
+Make sure you have the latest version of the Xcode command line tools installed:
+
+```
+xcode-select --install
+```
+
+## Choose your installation method:
+
+
+
+| Homebrew
+ | Installer Script
+ | Rubygems
+ |
+
+| macOS |
+macOS |
+macOS or Linux with Ruby 2.0.0 or above |
+
+
+brew cask install fastlane |
+Download the zip file. Then double click on the install script (or run it in a terminal window). |
+sudo gem install fastlane -NV |
+
+
+
+# Available Actions
+## Android
+### android beta
+```
+fastlane android beta
+```
+Submit a new Build to the Google Play Beta track
+### android deploy
+```
+fastlane android deploy
+```
+Deploy a new version to Google Play
+
+----
+
+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/android/fastlane/metadata/android/en-US/full_description.txt b/android/fastlane/metadata/android/en-US/full_description.txt
new file mode 100644
index 0000000..7908ac2
--- /dev/null
+++ b/android/fastlane/metadata/android/en-US/full_description.txt
@@ -0,0 +1,4 @@
+You can do the following:
+- See your proof of membership
+- Buy or renew your membership
+- See the event schedule with all of our events
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/en-US/short_description.txt b/android/fastlane/metadata/android/en-US/short_description.txt
new file mode 100644
index 0000000..e102af2
--- /dev/null
+++ b/android/fastlane/metadata/android/en-US/short_description.txt
@@ -0,0 +1 @@
+Your proof of membership and the event schedule at Chateau Neuf
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/en-US/title.txt b/android/fastlane/metadata/android/en-US/title.txt
new file mode 100644
index 0000000..4ae5d1c
--- /dev/null
+++ b/android/fastlane/metadata/android/en-US/title.txt
@@ -0,0 +1 @@
+Chateau Neuf
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/en-US/video.txt b/android/fastlane/metadata/android/en-US/video.txt
new file mode 100644
index 0000000..e69de29
diff --git a/android/fastlane/metadata/android/no-NO/full_description.txt b/android/fastlane/metadata/android/no-NO/full_description.txt
new file mode 100644
index 0000000..190b679
--- /dev/null
+++ b/android/fastlane/metadata/android/no-NO/full_description.txt
@@ -0,0 +1,4 @@
+Du kan gjøre følgende
+- Se ditt medlemskapsbevis
+- Kjøpe og fornye medlemskap
+- Se programmet med alle våre arrangementer
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/no-NO/images/icon.png b/android/fastlane/metadata/android/no-NO/images/icon.png
new file mode 100644
index 0000000..e186674
Binary files /dev/null and b/android/fastlane/metadata/android/no-NO/images/icon.png differ
diff --git a/android/fastlane/metadata/android/no-NO/short_description.txt b/android/fastlane/metadata/android/no-NO/short_description.txt
new file mode 100644
index 0000000..d564067
--- /dev/null
+++ b/android/fastlane/metadata/android/no-NO/short_description.txt
@@ -0,0 +1 @@
+Medlemskapsbevis og program for Chateau Neuf
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/no-NO/title.txt b/android/fastlane/metadata/android/no-NO/title.txt
new file mode 100644
index 0000000..b1d6e11
--- /dev/null
+++ b/android/fastlane/metadata/android/no-NO/title.txt
@@ -0,0 +1 @@
+Chateau Neuf - Det Norske Studentersamfund
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/no-NO/video.txt b/android/fastlane/metadata/android/no-NO/video.txt
new file mode 100644
index 0000000..e69de29
diff --git a/package.json b/package.json
index f430643..875382d 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"emulator": "emulator -avd $(emulator -list-avds | head)&",
- "build-android": "cd android && ./gradlew assembleRelease"
+ "build-android": "cd android && ./gradlew assembleRelease",
+ "release-android": "cd android && fastlane beta"
},
"dependencies": {
"moment": "^2.19.1",