After upgrading to Flutter 3.50 and AGP 9, a profile build type with applicationIdSuffix broke every plugin. Set the id on the variant instead.
Staff Software Engineer · React, Next.js, React Native · Building Masareef, Rafiq & Nafis
Staff Software Engineer, 6+ years. I build React, Next.js, React Native and TypeScript apps for fintech and Arabic users, including Masareef, Rafiq and Nafis. Originals live at mohamedgado.com/writing.
Markdown supported · ⌘↵ to post
SipFern
Great breakdown of why
initWithcopiesapplicationIdSuffixonto plugin library modules forprofilebuilds while leavingdebuguntouched. Moving the suffix toandroidComponents.onVariantsis such a clean fix—thank you for sharing thePluginHandler.ktroot cause and thein_app_updateversion note too!