If you face an issue: “Flutter Member not found: FirebaseAppPlatform.verifyExtends” you are in the right place. We will solve how to fix the Flutter Member not found: FirebaseAppPlatform.verifyExtends issues. The following things we will discuss in this article:
- Why does the Error happen?
- What does the Error look like?
- How to solve this error?
Why does the “Flutter Member not found: FirebaseAppPlatform.verifyExtends” error happen?
This error happens if you update the flutter plugins and you have used the firebase on your project. It has no obvious reason to show this error. When you face this error, don’t be afraid, it can be solved very easyily.
What does the Error look like?
The error looks like below:
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'. FirebaseAppPlatform.verifyExtends(_delegate); ^^^^^^^^^^^^^ FAILURE: Build failed with an exception.
This is what the error looks like.
How to solve this error
To solve this error, just add the below code under the dependency on pubspec.yaml file.
firebase_core_platform_interface: 4.5.1 firebase_messaging: ^13.0.4
Now click the Pub get and pub upgrade. Now run the app.
This is how you can solve the Flutter Member not found: FirebaseAppPlatform.verifyExtends issue very easily.