Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

AULFA/LFA-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFA Reader (Legacy)

The LFA Android Reader application was created to read EPUB books from LFA’s digital collections and is usually shipped as part of our Spark Kits.

Available Variants

See the Confluence page for a list of available variants of this app: https://aulfa.atlassian.net/wiki/spaces/ACC/pages/29229067/Android+Reader+App+Legacy

Setup

  1. Clone the repo:
git clone git@github.com:AULFA/LFA-Android.git
  1. Get the submodules:
cd LFA-Android
git submodule update --init
  1. Clone the application-secrets directory into the .ci directory, naming it credentials:
cd .ci
git clone git@github.com:AULFA/application-secrets.git credentials
  1. Run the credentials.sh script to set up the required credential files for the app:
cd ..
.ci-local/credentials.sh

Done! You should be able to build the project in any of the available variants now.

How-tos

Increment the version number

The version of the LFA Reader app is composed by two parts: version name and version code.

Version code

The version code of a specific variant of the app is provided by the version.properties file of the variant:

#
#Thu Aug 25 15:06:13 AEST 2022
VERSION_CODE=1696

This file is updated automatically every time you (or Android Studio) rebuild the app, so you shouldn't need to update it manually. If you need to change it, it's better if you rebuild the app and commit the new content of this file. You can change it manually too, just make sure that the new version code is higher than the previous one.

Version name

The version name of the app is defined under the gradle.properties file of the project:

VERSION_NAME=6.1.2-SNAPSHOT

You can update this by simply incrementing the version in this variable. Remember that this version name is shared by all the variants of the app.

Create a new variant

// TODO