New solution *. Flutter : How to solve [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)
Add this code in your main file
await Firebase.initializeApp(
options: const FirebaseOptions(
apiKey: " ",// == current_key in google-services.json file
appId: " ", // == mobilesdk_app_id in google-services.json file
messagingSenderId: " ", // == project_number in google-services.json file
projectId: " ", // == project_id in google-services.json file
),
);
En esta página del sitio puede ver el video en línea Flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException de Duración hora minuto segunda en buena calidad , que subió el usuario SYLVAIN TAIO 04 enero 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,046 veces y le gustó 25 a los espectadores. Disfruta viendo!