close

[Solved] Error: Member not found: ‘FirebaseAppPlatform.verifyExtends’

If You are using Firebase in your Flutter app then You Might face Error: Member not found: ‘FirebaseAppPlatform.verifyExtends’ error, But don’t worry Here in this article we are going to solve this error.

How to Solve Error: Member not found: ‘FirebaseAppPlatform.verifyExtends’?

  1. How to Solve Error: Member not found: ‘FirebaseAppPlatform.verifyExtends’?

    If Updating solution is not worked then You just need to add dependency_overrides in your pubspec.yaml file. Just open Your Pubspec file and add the below line: dependency_overrides: firebase_core_platform_interface: 4.5.1 That’s it and your error will be solved. Thanks.

  2. Error: Member not found: ‘FirebaseAppPlatform.verifyExtends’

    Make Sure You are not using any of the plugins that are outdated. Please update all plugins with the major released version will resolve this error. All You need to do is Just open Your Terminal from the root of your flutter project and run the flutter pub upgrade –major-versions command. And then Your error will be resolved.

Solution 1: Update all Plugins

Make Sure You are not using any of the plugins that are outdated. Please update all plugins with the major released version will resolve this error. All You need to do is Just open Your Terminal from the root of your flutter project and run the flutter pub upgrade –major-versions command. And then Your error will be resolved.

Solution 2: Add dependency_overrides

If Updating solution is not worked then You just need to add dependency_overrides in your pubspec.yaml file. Just open Your Pubspec file and add the below line.

dependency_overrides:
  firebase_core_platform_interface: 4.5.1

That’s it and your error will be solved. Thanks.

Conclusion

So In Order to solve the above error, you just need to update all plugins OR you need to add dependency_overrides will resolve your error. Hopefully, both solutions helped you. Thank You.

Also, Read

Leave a Comment