I am creating an Android app using React Native and Firebase. I had some trouble getting started.

Navigator is dead

React Native is a framework which constantly changes. It is sometimes tough to keep up with it. Do you notice something missing in the documentation?

Navigator missing

Navigator component is deprecated. That shocked me for some time. I have used Navigator in several applications now. And some of them are still running (in production). So, why was it deprecated? I don’t know. They found something better. The new hotness is react-navigation. It is easy to use.

The code is self explanatory. There are quite a few configuration options. I did play around with it for some time. The key prop to understand is navigation options.

Firebase rules

After fixing the navigator, I started working on Firebase. Firebase is so simple to use. I have used it previously. The below code should work but it did not work.

After scratching all over for an hour, I realised I forgot to turn on the database rules. By default, Firebase allows only authenticated users to access the data. To change it, the database rules should be modified.

Timer warning

After Firebase started working, I came across a console warning. The warning message referred to a github issue.

For some reason, I ignored the github issue and posted a question in StackOverflow. The right answer pointed back to the Github issue. But it saved some time by asking me to ignore the console warning.

React Native reminds me of some of the technologies from Microsoft. It is easy when it works. But when it does not, it requires some silly tweaks.

Troubleshooting Firebase in React Native
Tagged on:
  • Hello,

    Hope you are doing good.

    I am Laxmikant Thipse, Founder of GameCloud Technologies Pvt Ltd. We are a group of professional QA testers, having experience of over 1000 Games and Apps on all major platforms.
    With your permission, I would like to share our portfolio with vijayt team.

    We are happy to provide you bug reports based on a quick quality audit for your Game/App at no cost.
    If you find value in our submission, you can try our most competitively priced premium services in the future 🙂

    Best Wishes,

    Laxmikant Thipse