A multi-platform open-source mail application built in Flutter for Windows, Mac, Linux, Android, and iOS.
This guide is for those wanting to build the program themselves.
- Put your Google Client ID and Secret in the
lib/configs/config_auth.google.dart
file. - This file should be ignored for changes, but double check that you're not committing it to a public git repo.
- If the file updates, run
git update-index --skip-worktree lib/configs/config_auth_google.dart
on the git repo. This will ignore future changes.
Option A: Follow this video.
Option B: Follow this loose text-guide.
- Register a new project for OAuth on the Google Cloud Platform here.
- Create a keystore. Preferably naming the keystore 'vita-upload-keystore.jks' and the alias 'vitaupload'. Set the passwords to "mainpassword". Be sure to go inside of
android/key.properties
and add whatever you've entered.- Mac/Linux:
keytool -genkey -v -keystore ./vita-upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias vitaupload
- Windows:
keytool -genkey -v -keystore .\vita-upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias vitaupload
- Mac/Linux:
- Setup
android/key.properties
. Example:storePassword=mainpassword keyPassword=mainpassword keyAlias=vitaupload storeFile=vita-upload-keystore.jks
- Create credentials in the same place you created your OAuth (there's a tab on the left side that says Credentials, followed by a button at the top that says create).
3a. Add
com.quaintstudios.vita
as the package name and you can get the SHA-1 fingerprint by either following the command they give you or navigating to the android folder and running the following command:- Mac/Linux:
./gradle signingReport
- Windows:
gradlew.bat signingReport
- Mac/Linux:
- Scroll to the top of the signing report and copy the SHA1 for variant: debug / Config: debug. Paste it into the Cloud Platform then press CREATE.