System Architecture
GnoosiS is a single Flutter (Dart) mobile application backed by Firebase, organized into feature modules that share a common layer for state, networking, and local storage.
┌───────────────────────────────────────────────────────┐
│ GnoosiS App (Flutter) │
│ Auth · Home (Fama/Glossa/Diavasi/Chat/Perfil) · Creación│
│ Adsxx · Payments · DialogSheet │
└───────────────────────┬───────────────────────────────┘
│
┌───────────────────────▼───────────────────────────────┐
│ Common / Shared Layer │
│ State management · Networking (REST) · Hive cache │
└───────────────────────┬───────────────────────────────┘
│
┌───────────────────────▼───────────────────────────────┐
│ Firebase │
│ Auth · Firestore · Storage · Cloud Messaging · Analytics│
└───────────────────────────────────────────────────────┘Modules
| Module | Responsibility |
|---|---|
| Auth | Email/password and Google Sign-In via Firebase Authentication, role-based permissions (user, creator, moderator, admin) |
| Home — Fama | Main social feed: posts, likes, comments, shares, trending and dynamic ranking |
| Home — Glossa | Microblogging: short (160-char) and long-form (2500-char) posts, hashtags, mentions, quotes, threads, polls |
| Home — Diavasi | Vertical video feed: infinite snap-scroll, auto-play, shoppable tagging, tips |
| Home — Chat | 1:1 and group messaging, ephemeral stories, E2E encryption, voice/video calls |
| Home — Perfil | Creator profile: stats, privacy controls, wallet balance, customizable content sections |
| Creación | Video editing (trim, filters, effects, overlays), drawing/annotation, polls, scheduled publishing |
| DialogSheet | Contextual modals — sponsored content prompts, wallet confirmations |
| Adsxx | Integration with the ooAds/AdFGT ad platform: banners, native in-feed, sponsored posts, rewarded ads, Proof of View |
| Payments | Stripe + PayPal fiat, DracmaS (DMS) token wallet, KYC, staking/rewards, P2P transfers |
Tech stack
- Flutter (Dart) — single codebase for Android and iOS
- Firebase — Authentication, Firestore, Storage, Cloud Messaging (push), Analytics
- Hive — local/offline storage and caching
- REST APIs — communication with backend services
- Stripe + PayPal — fiat payment processing
- ooAds/AdFGT SDK — the ad platform also known as "SkoopoS Ads" elsewhere in the Empoorio ecosystem
- Shared Preferences — lightweight local settings
- WebView — embedded web content where needed
- cryptography package (RSA/AES) — end-to-end chat encryption
- WebRTC — voice/video calls
- CI/CD — GitHub Actions / Codemagic
Design principles
- Modular by feature — Fama, Glossa, Diavasi, Chat, and Perfil are independent modules composed under a shared Home shell, so they can evolve without tangling each other's state.
- Offline-friendly — Hive caches feed and profile data locally so the app stays usable on flaky connections.
- Firebase-first backend — Firestore and Cloud Messaging handle real-time feed and chat updates without a bespoke server stack.
- Token economy woven throughout — DracmaS isn't a bolt-on; it's threaded through Diavasi tips, Adsxx rewarded ads, and Payments.
Related
- Getting Started
- Integration — Adsxx, DracmaS, and roadmap chain integration
- Privacy & Security