Files
sf-app-platform/pubspec.yaml
JulianAlcala 95a03434ca fix(antelop): route FCM pushes through SDK, per-flavor plist on iOS, unify applicationId
- Add AntelopAwareMessagingService so the Antelop SDK gets first dibs on every
  FCM push before delegating to firebase_messaging. Unblocks SCA wallet
  activation on Android, which was waiting forever for pushes that the
  FlutterFirebaseMessagingService was swallowing ever since Firebase was
  integrated. Remove the stock Antelop and firebase_messaging services via
  manifest-merge so only the wrapper handles MESSAGING_EVENT.
- Add Copy AntelopRelease Build Phase in Xcode to copy
  Runner/AntelopRelease-{flavor}.plist over the fixed AntelopRelease.plist
  inside the .app bundle based on CONFIGURATION. Without this the iOS SDK
  silently used the production plist on every flavor.
- Revert the six applicationId values (3 AndroidManifest + 3 AntelopRelease
  plist) to the sample id 4713640103500149457, which is the only one
  provisioned in Antelop's backend today. The four env+platform ids they
  provided all fail with 9999 / cryptography: Error while decrypting data.
  To be updated once Treezor confirms the real ids.
- Add packages/flutter_treezor_entrust_sdk_bridge/example as a pub workspace
  member and bump its Dart SDK and flutter_lints constraints so
  'melos bootstrap' stops failing with 'dependencies for
  flutter_treezor_entrust_sdk_bridge_example missing'.
2026-04-15 11:25:06 +02:00

104 lines
3.1 KiB
YAML

name: sf_app_platform_mono_repo
description: Monorepo for sf app platform, packages and modules included.
publish_to: "none"
environment:
sdk: ">=3.6.0 <4.0.0"
workspace:
- apps/mobile_app
- modules/splash
- modules/payment/modules/activity
- modules/payment/modules/auth
- modules/payment/modules/dashboard_shell
- modules/payment/modules/home
- modules/payment/modules/notifications
- modules/payment/modules/profile
- modules/legacy
- modules/legacy/modules/account
- modules/legacy/modules/control_panel
- modules/legacy/modules/customer_service
- modules/legacy/modules/device_management
- modules/legacy/modules/legacy_auth
- modules/legacy/modules/legacy_dashboard_shell
- modules/legacy/modules/location
- modules/legacy/modules/settings
- modules/legacy/packages/legacy_shared
- packages/design_system
- packages/flutter_treezor_entrust_sdk_bridge
- packages/flutter_treezor_entrust_sdk_bridge/example
- packages/fonts
- packages/navigation
- packages/payments
- packages/sca_treezor
- packages/sf_infrastructure
- packages/sf_localizations
- packages/sf_shared
- packages/sf_tracking
- packages/utils
dependencies:
flutter_secure_storage: ^9.2.4
dev_dependencies:
melos: ^7.5.1
dependency_overrides:
flutter_secure_storage: 9.2.4
melos:
name: sf-app-platform
scripts:
analyze:
description: Run flutter analyze across all packages
exec: flutter analyze .
test:
description: Run all tests in packages that have a test directory
exec: flutter test
packageFilters:
dirExists: test
clean:
description: Clean .dart_tool and build directories in all packages
exec: flutter clean
generate:
description: Run build_runner in packages that depend on build_runner
exec: dart run build_runner build --delete-conflicting-outputs
packageFilters:
dependsOn: build_runner
format:
description: Format all Dart code
exec: dart format .
format:check:
description: Check formatting without making changes (CI-friendly)
exec: dart format --set-exit-if-changed --output=none .
outdated:
description: Show outdated dependencies in all packages
exec: flutter pub outdated
sync-deps:
description: Propagate versions from dependencies.yaml to all pubspec.yaml
run: dart run tool/sync_deps.dart sync
check-deps:
description: Verify all pubspec.yaml are in sync with dependencies.yaml (CI-friendly)
run: dart run tool/sync_deps.dart check
app:dev:
description: Launch the app in development flavor
run: cd apps/mobile_app && flutter run -t lib/main_development.dart --dart-define-from-file=config/development.json
app:staging:
description: Launch the app in staging flavor
run: cd apps/mobile_app && flutter run -t lib/main_staging.dart --dart-define-from-file=config/staging.json
app:prod:
description: Launch the app in production flavor
run: cd apps/mobile_app && flutter run -t lib/main_production.dart --dart-define-from-file=config/production.json