scalefocus / photopixels-android

The Android mobile client for Photo Pixels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhotoPixels for Android

Releases

The latest release is available in the Releases section.

**TODO: add link to Releases section / latest release **

Build Instructions

If you want to build your own version of PhotoPixels, keep in mind the instructions that follow.

Application Signing

There is a Gradle convention plugin (AndroidApplicationSigningConventionPlugin.kt) that has all logic related to signing the application. The plugin looks for the keystore.properties file in the project root directory. This file is and should be kept out of Git via .gitignore. If keystore.properties exists, then the application will be signed as defined by the configuration inside AndroidApplicationSigningConventionPlugin.kt. If the keystore.properties file does not exist, then the application will not be signed.

This is how keystore.properties looks like:

keystorePath=/path/to/keystore/file
keystorePassword=some_good_password
keyAlias=alias_of_key_from_keystore
keyPassword=some_good_password

Enabling Google Photos API

To enable retrieval of personal photos from the Google Photos services, the PhotoPixels app will need data from Google Cloud Console, more specifically, an Android client ID, a Web client ID, and Web client secret.

Once you retrieve these, place them a file called photopixels.properties in the root directory of the project. This is how photopixels.properties should look like:

# Google Console Android Client ID
GOOGLE_OAUTH_ANDROID_CLIENT_ID="android_client_id_from_google_cloud_console"

# Google Console Android Web ID
GOOGLE_OAUTH_WEB_CLIENT_ID="web_client_id_from_google_cloud_console"
GOOGLE_OAUTH_WEB_CLIENT_SECRET="web_client_secret_from_google_cloud_console"

Obtaining Properties from Google Cloud Console

TODO: add instructions/links describing how to obtain properties for photopixels.properties file.

About

The Android mobile client for Photo Pixels

License:Apache License 2.0


Languages

Language:Kotlin 99.4%Language:Shell 0.6%