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
Category: Firebase
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 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 Firestore withConverter
Flutter Firebase Firestore withConverter() method provides Map<String, dynamic> data to convert to object and from object Map<String, dynamic>. So with this we convert Map to object and object to Map. Because Firebase Firestore default way storing and retrieving data is Map<String, dynamic>. This is not very efficient and error prone. Look at the example below…
Flutter Firebase Google Auth Repository
Learn how to create flutter firebase google auth repository. First we wanna have bunch of methods, that will help us to work with google firebase login and logout. Here we included singUp, singIn, singInWithGoogle and singOut method. We need to create a class called AuthRepository. First of all we get a FirebaseAuth.instance object. We will…