Flutter Build & FCM Fix

Замовник: AI | Опубліковано: 21.10.2025

My Flutter app stalls on two fronts and I need a quick, focused patch: • Android release build fails with a Gradle sync error. • Web version never receives Firebase Cloud Messaging push notifications. Current stack details – Flutter with EasyLocalization for i18n. – Firebase Cloud Messaging already added but not wired for web. – build.gradle and AndroidManifest.xml are the likely pain points. What I need from you 1. Inspect the project setup and pinpoint why the Gradle sync collapses during release builds. 2. Apply the minimal change set required—whether in build.gradle, ProGuard rules, or manifest merges—so an APK can be generated and installed without crashes. 3. Configure FCM for Flutter Web, register the service worker, and prove that a test message reaches the browser. 4. Walk me through the fixes so I can reproduce them on future builds. I value clear communication and rapid turnaround; screenshots or short notes are fine as long as I can follow the steps.