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

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

IntelliLogics

7 месяцев назад

8,837 Просмотров

[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)

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


await Firebase.initializeApp(
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

Тэги:

#flutter #firebase #flutter_firebase #unhandled_exception #unhandled_exception_flutter_firebase #FIX_Flutter_Compile_Error_on_Firebase_Auth #flutter_fix #Unhandled_Exception:_PlatformException #flutter_tutorial #flutter_tutorial_for_beginners #flutter_course #[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] #ERROR:flutter/runtime/dart_vm_initializer.cc(41) #Unhandled_Exception:_PlatformException(null-error #Host_platform_returned_null_value_for_non-null_return_value.
Ссылки и html тэги не поддерживаются


Комментарии: