skip to Main Content

firebase core initialize error I started getting this error after updating flutter

''' Launching lib/main.dart on sdk gphone64 arm64 in debug mode... : Error: The method 'initializeCore' isn't defined for the class 'FirebaseCoreHostApi'. - 'FirebaseCoreHostApi' is from 'package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart' ('../../.pub-cache/hosted/pub.dev/firebase_core_platform_interface-4.5.3/lib/src/pigeon/messages.pigeon.dart'). Try correcting the name to the name of an existing method, or defining…

VIEW QUESTION

How to retrieve data from Firestore in flutter

I have made a collection in this way: var res = FirebaseFirestore.instance.collection("hotels"); var response =await res.doc(res.id).collection(data.email).doc(data.hotelName).collection(data.hotelName).doc().collection('hotel_details').add( 'hotel_name': data.hotelName, 'hotel_email': data.email,}); This is the code to retrive I have used: final res = FirebaseFirestore.instance.collection("hotels"); final response = await res.doc(res.id).collection(email).get(); I am…

VIEW QUESTION

Firebase – How to call v-for variable to function

I am using vue3 and c_cid is important for me to implement the function. here is what I have. <div class="client_card" type="button" v-for="c in all_clients" data-bs-toggle="modal" data-bs-target="#add_delievery_address" > <div class="modal-footer" style="background-color: #1267aa"> <button @click="createDelieveryAddress(`{{ c.c_cid }}`)"> Submit Delivery Address </button>…

VIEW QUESTION
Back To Top
Search