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

Published: 05 December 2023
on channel: IntelliLogics
12,133
312

[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


Watch video [Solved] Unhandled Exception: PlatformException(null-error, Host platform returned null) firebase online without registration, duration hours minute second in high quality. This video was added by user IntelliLogics 05 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,133 once and liked it 312 people.