Skip to content

Project-xS/xs-user

Repository files navigation

xs_user

A new Flutter project.

Prerequisites

  • Firebase project configured for Android (google-services.json) and iOS (GoogleService-Info.plist).
  • Google OAuth 2.0 Web Client ID (used for Google Sign-In on mobile).
  • Optional: comma-separated list of allowed Google domains.

Environment

Provide config via .env and/or --dart-define at build/run time. --dart-define takes precedence when both are provided.

Example .env:

SERVER_CLIENT_ID=YOUR_WEB_CLIENT_ID.apps.googleusercontent.com
ALLOWED_GOOGLE_DOMAINS=example.edu,example.com
API_BASE_URL=https://proj-xs.fly.dev

Run with --dart-define:

flutter run \
  --dart-define=SERVER_CLIENT_ID=YOUR_WEB_CLIENT_ID.apps.googleusercontent.com \
  --dart-define=ALLOWED_GOOGLE_DOMAINS=example.edu,example.com \
  --dart-define=API_BASE_URL=https://proj-xs.fly.dev

Notes:

  • SERVER_CLIENT_ID should point to the Web Client ID created alongside your Firebase project.
  • ALLOWED_GOOGLE_DOMAINS is optional; leave blank to allow any verified Google account.
  • API_BASE_URL is optional; defaults to https://proj-xs.fly.dev.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Flutter App for Users

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors