Error: Member not found: 'FirebaseAppPlatform.verifyExtends'. FirebaseAppPlatform.verifyExtends(_delegate);
flutter clean flutter pub get pod install
CodePudding user response:
I could be wrong about this solution, but there was a bug introduced in some firebase packages because breaking changes were added to a minor/patch. The quick fix for me was to specify the exact version of the firebase_core_platform_interface in my pubspec.yaml:
firebase_core_platform_interface: 4.5.1
After flutter clean this satisfied my packages relying on firebase_core_platform_interface "^4.5.1" and prevented introducing the breaking changes by utilizing 4.5.2 (in this case verifyExtends being renamed verify? whoops).
CodePudding user response:
I think this solved my futterfire-induced morning problem: Hard 4.5.1 dependency... /pubspec.yaml ->
firebase_core_platform_interface: 4.5.1
firebase_messaging: ^13.0.4 # will satisfy your firebase core things that depend on ^4.5.1
Github ref: https://github.com/firebase/flutterfire/issues/9806#issuecomment-1294003289