Skip to content

About

Open Source, Social App made for ACM by ACM. Omnia provides a seamless platform for ACM members to connect, collaborate, and access club resources.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Omnia

The ACM-JUIT student chapter app, built with Flutter. Backed by Firebase (Auth, Firestore, Storage) with event registrations written to Google Sheets.

Requirements

Tool Version
Flutter 3.47+ (Dart 3.13+)
JDK 17+ (Gradle 9.1 / AGP 9.0.1 need it)
Android SDK Platform 37 (compileSdk 37)
Xcode 26+ with CocoaPods, for iOS

Setup

flutter pub get

Two files are .gitignored and so are missing from a fresh clone. The build fails without them:

1. lib/firebase_options.dart

Regenerate rather than hand-editing:

npm install -g firebase-tools && firebase login
dart pub global activate flutterfire_cli
flutterfire configure

The project is omnia-acm. The Android values can also be read straight out of the committed android/app/google-services.json and firebase.json.

2. lib/Screens/Events/sihform.dart

The Smart India Hackathon registration form, reachable from the "latest event" card on the home screen. It appends a row to the Google Sheet identified by spreadsheetId in lib/cardvalues.dart and uploads the payment screenshot to Firebase Storage via PaymentUploadCard.

Before an event goes live, fill in sihPaymentLinks at the top of that file. Entries left blank render as disabled buttons rather than opening dead links.

Running

flutter run                     # any attached device
flutter run -d <device-id>      # pick one; `flutter devices` to list
flutter build apk --release     # Android

Android is the primary target. There is no signing config for release builds — android/app/build.gradle signs release with the debug keys, so app-release.apk is not distributable as-is.

Notes

  • Swift Package Manager is disabled for this project (flutter: config: enable-swift-package-manager: false in pubspec.yaml). Firebase's SPM integration does not link abseil-cpp into the Runner target, which breaks the iOS build. Firebase goes through CocoaPods instead.
  • Web is not supported. lib/Screens/Events/paymentsscard.dart and lib/Screens/Profile/profedit.dart use dart:io File, which does not compile for web.
  • macOS needs work if you want to target it: the sandbox is missing the com.apple.security.network.client entitlement (so Firebase cannot reach the network), and MACOSX_DEPLOYMENT_TARGET is still 10.14 while macos/Podfile asks for 12.0.
  • flutter analyze is expected to be clean; flutter test covers the splash screen only.

Security

lib/cardvalues.dart contains a live Google service-account private key in plain text, and it is in the git history. Anyone with the repo can write to the chapter's Google Sheets. This key should be revoked and rotated, and the writes moved behind something the client does not hold — a Cloud Function or an Apps Script web app. The same applies to the Firebase API key, which is unrestricted and should be locked down to the app's package name and SHA-1.

About

Open Source, Social App made for ACM by ACM. Omnia provides a seamless platform for ACM members to connect, collaborate, and access club resources.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages