Here I have note down some important information, that you might find useful when you work with ImagePicker() plugin and Firebase Storage for file uploading. What does imagePicker() return? It returns a XFile object How to get the image path from XFile object? You can get by xFileObjet.path Why do you need File() constructor? We…
Month: January 2023
Flutter Push Notification iOS AppDelegate.swift
we need to put a different kind of code in AppDelegate.swit for iOS push notification. Flutter default code is not enough this. We did two things here, first we added support for older device. and we also added support for background notification badge
Flutter send notification from device
Learn how to send notification from flutter local device. Here we will cover the method, the post method to send notification. Of course it means before that, you must enable other service and write the correct code.
Flutter Getx Difference Between Get.put(), Get.lazyPut() and Get.putAsync()
If you ever worked with Getx, you will see Get.put(), Get.lazyPut() and Get.putAsync(). Let’s see the difference between them. Get.put() Get.put() is used for inserting controller to memory and it’s get inserted immediately when your app boots. Because Getx will initialize the controller before you use them. It’s not memory efficient. And see the output…
Flutter Firebase Project Set up Issues
If you have downloaded some complete firebase project, and as you try to install them, you will find firebase set up does not work. Or throws error as it tries to connect with Firebase. In that case, I will suggest you do the work dirty way.
Flutter Facebook Login & Crash Issues
Login in I have a tutorial about facebook login, it works fine in the simulator if you log in as a developer account. Here developer account means you need to create an app account in developers.facebook.com and then you need to add yourself as a developer or main admin of the app, then if you…