skip to Main Content

Firebase – Crash in nanopb iOS 17.4.0

My app started crashing right on startup on iOS 17.4. Prior this version everything was ok. Crashlytics says this is some crash in nanopb on main thread in pb_check_proto3_default_value + 342. Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000001736eb51c As you can see,…

VIEW QUESTION

I want to be able to filter a field where I can do a batch.update on flutter Firestore

final batch = FirebaseFirestore.instance.batch(); var nycRef = FirebaseFirestore.instance.collection("FoodOrders").doc(); // I want to specify a field here like where() // e.g var nycRef = FirebaseFirestore.instance.collection("FoodOrders").where("MyId",isEqualTo: myId); batch.update(nycRef, {"Paid": true}); batch.commit(); But I get an error saying The argument type 'Query<Map<String, dynamic>>'…

VIEW QUESTION

Flutter – Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval

void main() async{ WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform ); final _firebaseMessaing = FirebaseMessaging.instance; await _firebaseMessaing.requestPermission(); final fCMToken = await _firebaseMessaing.getToken(); print("This is token =========> ${fCMToken}"); runApp(MyApp()); } Here I want the token but some errors occurs and the Token does…

VIEW QUESTION
Back To Top
Search