Files
unionflow-server-impl-quarkus/unionflow-mobile-apps
DahoudG f89f6167cc feat(mobile): Implement Keycloak WebView authentication with HTTP callback
- Replace flutter_appauth with custom WebView implementation to resolve deep link issues
- Add KeycloakWebViewAuthService with integrated WebView for seamless authentication
- Configure Android manifest for HTTP cleartext traffic support
- Add network security config for development environment (192.168.1.11)
- Update Keycloak client to use HTTP callback endpoint (http://192.168.1.11:8080/auth/callback)
- Remove obsolete keycloak_auth_service.dart and temporary scripts
- Clean up dependencies and regenerate injection configuration
- Tested successfully on multiple Android devices (Xiaomi 2201116TG, SM A725F)

BREAKING CHANGE: Authentication flow now uses WebView instead of external browser
- Users will see Keycloak login page within the app instead of browser redirect
- Resolves ERR_CLEARTEXT_NOT_PERMITTED and deep link state management issues
- Maintains full OIDC compliance with PKCE flow and secure token storage

Technical improvements:
- WebView with custom navigation delegate for callback handling
- Automatic token extraction and user info parsing from JWT
- Proper error handling and user feedback
- Consistent authentication state management across app lifecycle
2025-09-15 01:44:16 +00:00
..
2025-08-20 21:00:35 +00:00
2025-08-20 21:00:35 +00:00
2025-08-20 21:00:35 +00:00
2025-08-20 21:00:35 +00:00

📱 UnionFlow Mobile Apps

Application mobile moderne pour la gestion d'associations en Côte d'Ivoire avec intégration Wave Money

Flutter Dart Wave Money Côte d'Ivoire

🌟 Fonctionnalités

💳 Paiements Wave Money

  • Cotisations : Paiement des cotisations mensuelles/annuelles
  • Adhésions : Frais d'inscription nouveaux membres
  • Aide mutuelle : Versements d'aide entre membres
  • Événements : Paiement de participation aux événements
  • Calcul automatique des frais selon le barème Wave CI
  • Mode hors ligne avec synchronisation automatique

🔐 Sécurité Avancée

  • Authentification biométrique (empreinte, Face ID)
  • Chiffrement des données sensibles
  • Validation OWASP des entrées utilisateur
  • Sessions sécurisées avec timeout automatique
  • Audit complet des transactions

🎨 Interface Ultra Moderne

  • Design System cohérent inspiré des couleurs ivoiriennes
  • Animations fluides avec Flutter Animations
  • Mode sombre automatique
  • Responsive design pour tous les écrans
  • Accessibilité complète (WCAG 2.1)

🌐 Fonctionnalités Avancées

  • Workflows configurables pour les processus métier
  • Notifications push intelligentes
  • Support multilingue (Français, Baoulé, Dioula)
  • Synchronisation temps réel avec le backend
  • Cache intelligent pour performance optimale

🚀 Installation et Configuration

Prérequis

  • Flutter SDK 3.5.3+
  • Dart SDK 3.5.3+
  • Android Studio / VS Code
  • Émulateur Android ou appareil physique

Installation

# Cloner le projet
git clone <repository-url>
cd unionflow-mobile-apps

# Installer les dépendances
flutter pub get

# Générer les fichiers de code (DI)
flutter packages pub run build_runner build

# Lancer l'application
flutter run

Configuration API

Modifier l'URL de base dans lib/core/network/dio_client.dart :

baseUrl: 'http://your-api-url:8081', // Remplacer par votre URL API

Scripts utiles

  • flutter test - Exécuter les tests
  • flutter analyze - Analyser le code
  • flutter build apk - Construire l'APK Android