How to FIX Flutter Compile Error on Firebase Auth | Firebase Initializing
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(null-error, Host platform returned null value for non-null return value., null, null)
Solutions
await Firebase.initializeApp(
options: FirebaseOptions(
apiKey: "Api key here",
appId: "App id here",
messagingSenderId: "Messaging sender id here",
projectId: "project id here",
),
)
#flutter #firebase #dart #ios #android
U don't know how u saved many people's lives btw. Thanks from the heart
Welcome and subscribe
thanks sir i never forget you till my life i suffering from this error till 5 days
Welcome and subscribe
Same here
Sir I am very very thankful to you for solving this problem. I have trying to solve this since one week. May Allah give you the happy , healthy and wealthy life.....
Welcome and subscribe
You're such a lifesaver. Thanks a lot, man!
Welcome and subscribe
Bro, i 've been working on this feature for last 14 hours and I got a thousand errors on the process and found no good tutorial until I saw your videos, you saved my day, THANK YOU
Welcome and subscribe
I tried tons of solutions. And I have spent a day on it. You helped me solve it in 5 minutes. ))) Thanks.
Welcome and subscribe
thanks a lot for the video...really helpful ..even chatGPT couldn't resolve the this error....
Welcome and subscribe the channel
Thanks alot,you saved alot of time to thousands of people
Thakyou very much. This works well. You saved my assignment.
Thank you very much brother. Your tutorial helped me a lot.
thank youu soo much for your videooo its really working u saved my project thanksss a lotttt🤩
Welcome and subscribe
thanks alot sir, u helpin me so much, love the way u explain which u put a code in description bellow
Welcome and subscribe
goood lord thank youuuuu so much sir you saved my project!!!!!
Welcome and subscribe
You’re a lifesaver. Thank you so much 💐
Welcome and subscribe
thank you very much, your solution works for me after having a very long hard time.
Welcome and subscribe
A true lifesaver !
Welcome and subscribe
Mate, you're a legend
You are welcome and subscribe
You are my hero 🥰 many thank about this video
Welcome and subscribe
Thank u so much Sir for such an amazing video...i was suffering since 5 days and finally found the solution🎉🎉
Thanks, this is fixed my problem.
Welcome and subscribe
Thank you, bro, it works for me.
Welcome and subscribe
Thank you for the wonderful video sir it is very helpful for me and my team, Thanks again sir
Welcome and subscribe
This worked❤✨thank youuuuuu so much❤
Welcome and subscribe
Thanks a lot brother. This help a lot
Welcome and subscribe
thanks Man You are Greatest Hug Form Pakistan❤🤗
Welcome and subscribe
DUDE THIS WORKS
!!!!!!
welcome and subscribe
best video everrr 😭😭😭😭😭😭😭😭😭😭 keep it up bro!!
thankyou , i have spent 2 days on this and now i found the solution
Thanks a lot bro. you saved me a life.
Welcome and subscribe
you are so brilliant, thank you so much for this video
Welcome and subscribe
Thank you for you contribution. you save my time
Welcome and subscribe
Thank you very much this helps me a lot ❤
Welcome and subscribe
@@kdtechs already subscribed 🖤
thank you bro, its solve my problem, thank you
Welcome and subscribe
Thanks you're a lifesaver!!
bro, you are the man
You are welcome and subscribe
Thanks a lot video, U help me so much.
Welcome and subscribe
You are a saviour, thank you very much sir
Bro, it worked. TY
welcome and subscribe
it is showing error on isAndroid that
[ The getter 'isAndroid' isn't defined for the type 'Platform'. (Documentation) Try importing the library that defines 'isAndroid', correcting the name to the name of an existing getter, or defining a getter or field named 'isAndroid'. ]
You seem to have different error
Thanks bro finally I got it
Welcome and subscribe
Nice info, saved lot of time.
Welcome and subscribe
wow it works .... thank you !
I’m lease I’m still getting the same error message
Please I need help
Thank full for solution, Thailand.
Welcome and subscribe
omg tyyyy, you help me to resolve the problem.
Thank you so so much 🤩
Welcome and subscribe
The getter 'isAndroid' isnt defined for the type 'Platform'... i still get this error?? Please help
import this library --> "import 'dart:io'; "
Big Thanks ❤❤❤❤
Welcome and subscribe
Thankyou so much🥰
Welcome and subscribe
thank you sir . its really help . but can you explain why we have to use this code ? . i will start follow you now . thank you
Welcome and subscribe
Thank you very much
Welcome and subscribe
Thank youu!!
Welcome and subscribe
Top, Thanks man!!
Welcome and subscribe
thank u man
thank you bro
nice!!!
Thanks and subscribe please
love you boss😘😍
welcome and subscribe
thanks bro
i am facing this error, could you please you solve it, i have tried upgrading dependencies and rebuild still the error persists: Firebase Error: Unable to establish connection on channel.
did u find the solution? i got the same error
Thank you 😢😢❤
I came back just to thank you
thank u so much brooo
TY
Welcome and subscribe
thanks
thank u verymuch
thank you
tq tq tq so much
Thanks
Welcome and subscribe
But to get those id as im not using Google login method
Great
Welcome and subscribe
Still getting same error after applying your step
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform);
hi iam getting error like this
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null., ExecutionException, Cause: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null., Stacktrace: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null.
i tried the above video solution but ican make it resolve could you help me with that
i love youuu
Give me special thanks 😉
Thanks a lot bro. you saved me a life.
Welcome and subscribe
Thank you so much
welcome and subscribe
Thanks dude
Thank bro
thanks bro
thanks bro