Skip to main content

Posts

Showing posts with the label firebase

My experience with firebase

I started using firebase for one my project for the past couple of weeks now, and it has its ups and downs to say. Initially, I had a very warm relationship with firestore and authentication when I used the later for one of my world cup prediction app. Which after a little bit of struggle I managed to make it work. I thought this is cool. I should use it more often. Then I created a blood donation app using firebase this time, using its authentication and as well as a firestore feature to store the info relating to the blood groups of persons who are registering to the app. But then I see problems. I see that its not easy to take the counts of people who have O +ve blood, you just need to keep that glued in somehow (I used a counter variable if you ask me!), and then needs to update two or three places in order to run the app smoothly(hey, its NoSQL what do you expect!). I was running the code here and there updating the firestore DB multiple times increasing my read and wr...

The hassle of firebase in flutter

I recently did a firebase integration in flutter to enable cloud messaging services in my app. I guess you all know what it means. The power of customized, fast notifications in my flutter app. I thought being firebase and being flutter has its own perks (since both is backed by Google). But in reality it's not that easy. I wanted to integrate androidX support inside my android folder for the flutter app to work. Well the official doc of integrating firebase to flutter is good( https://firebase.google.com/docs/flutter/setup ), but it does not provide you with the full details though. Apart from the steps described in this doc. I followed some more steps to achieve what I was looking for. In the app level build.gradle file, under the dependencies section, i added the following implementation 'androidx.multidex:multidex:2.0.0' then the 2 lines which includes  androidTestImplementation under dependencies section is changed to the following. androidTestImplementation 'com...