Skip to content
/ Vita Public

A multi-platform open-source mail application built in Flutter for Windows, Mac, Linux, Android, and iOS.

License

Notifications You must be signed in to change notification settings

Makosai/Vita

Repository files navigation

Vita

A multi-platform open-source mail application built in Flutter for Windows, Mac, Linux, Android, and iOS.

Getting Started

This guide is for those wanting to build the program themselves.

General Setup

  1. Put your Google Client ID and Secret in the lib/configs/config_auth.google.dart file.
  2. This file should be ignored for changes, but double check that you're not committing it to a public git repo.
  3. 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.

Android Setup

Option A: Follow this video.

Option B: Follow this loose text-guide.

  1. Register a new project for OAuth on the Google Cloud Platform here.
  2. 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
  3. Setup android/key.properties. Example:
     storePassword=mainpassword
     keyPassword=mainpassword
     keyAlias=vitaupload
     storeFile=vita-upload-keystore.jks
    
  4. 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
  5. 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.

About

A multi-platform open-source mail application built in Flutter for Windows, Mac, Linux, Android, and iOS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages