odoo_loyalty_app/README.md

1.2 KiB

Mapan Loyalty App

A high-performance, native Flutter application built specifically to integrate with Odoo 19 for the Mie Mapan restaurant franchise.

Features

  • Royalty-Free Modern UI: Custom-themed interfaces using the PRD "Modern Gastronome" aesthetics, featuring Plus Jakarta Sans and Be Vietnam Pro fonts.
  • Firebase-Free Push Notifications: A lightweight background worker polls the Odoo server securely every 15 minutes, spawning native local notifications without relying on Google Cloud Messaging.
  • Odoo RPC Integration: Connects directly to erp.mapan.co.id using XML-RPC.
  • Find Nearest Branch: Synchronizes public res.company data from Odoo securely via a standalone metadata API to protect Admin credentials.

Requirements

  • Flutter SDK ^3.41.0
  • Odoo 19 Instance (with mapan_loyalty_push module installed)

Compilation

  1. Ensure your Android device is authorized over USB or ADB.
  2. Run standard release command:
    flutter run --release -d <android-device-id>
    

(Note: Linux desktop compilation is intentionally disabled (flutter config --no-enable-linux-desktop) due to Snap ecosystem bugs with Dart Native Assets from modern plugins).