[Solved] Unhandled Exception: PlatformException(null-error, Host platform returned null) firebase

preview_player
Показать описание

if you get the above error in your Flutter project with firebase configurations.
The solution is provided in the video. Here is the helping text

options: FirebaseOptions(
apiKey: "ApiKey",
appId: "AppId",
messagingSenderId: "MessagingSenderId",
projectId: "ProjectId",
),
);

The video explains how to FIX Flutter Compile Error on Firebase Auth | Firebase Initialization issue in flutter
Рекомендации по теме
Комментарии
Автор

Man, I am just so so so grateful.
Thanks man, i really really appreciate it with core of my heart.
Love you bud!

darkistheknight
Автор

Thanks mate! Noone could help me with that! You're a lifesaver!

Igitolog
Автор

Simple and Straight forward, thank you so much

yinhlamakamu
Автор

Thanks alot. Couldn't understand the error for like days now!

atishayvidyarthi
Автор

Thank you! I've been struggling with this for a week

reema
Автор

Thanks a lot brother. This helped me solve the issue ive been stuck on for days. One Suggestion: Maybe explain why we're doing this process so as to understand the issue better

milanpatel
Автор

Why is it not taking values directly from google json?

therealshanky_
Автор

Thanks Man! it took three days to resolve it but, its resloved

saurabhmaurya
Автор

You're really good samaritan to post this solution. I really appreciate it!

leonardoduarte
Автор

Thanks a lot dude you saved my day . I was troubled with this issue for about 4 days many thanks and god bless .

iktuxus
Автор

Thank you so much, I got this error after a long time and I had forgotten the solution of this error.

hamzamajeed
Автор

thank you so so much i cant even express how great it feels after it is been solved

TheStickyMan-yc
Автор

i cant solve this for a week until i see this video, thank u very much bro :3

.nguyeninhquockhanh
Автор

Bro you deserve real respect from my side

AmanSingh-mvht
Автор

Thank you for your solution, it works.

asmaamahmoud
Автор

thank you so much brother you have solved the latest problem which is coming . you are genius man 😎💯🔥

fyit-kishanbind
Автор

You saved my headache! Thank you so much!

nishafarhani
Автор

thanks, i tried ai, stack overflow everything it just didn't work but immediately i did what you showed in the video everything became perfect

chris_b
Автор

THANK YOU SO MUCH, YOU JUST MADE MY DAY!

MirceaBene
Автор

it runs correctly bro, but using firebase for auth or any database gives this error :- Initial task failed for action exception - An internal error has occurred. [ API key not valid. Please pass a valid API key.

HamadAhmad-lyvv