{"id":1017,"date":"2020-01-01T15:44:25","date_gmt":"2020-01-01T05:44:25","guid":{"rendered":"https:\/\/learntodroid.com\/?p=1017"},"modified":"2020-01-01T15:44:31","modified_gmt":"2020-01-01T05:44:31","slug":"15-reasons-to-use-firebase-in-your-mobile-app","status":"publish","type":"post","link":"http:\/\/10.0.0.14:32769\/15-reasons-to-use-firebase-in-your-mobile-app\/","title":{"rendered":"15 Reasons to Use Firebase in Your Mobile App"},"content":{"rendered":"\n

As you start to build more complex mobile apps that require a back-end that you control to enable functionality within your app, you will need to make a decision on where all the infrastructure for your back-end will need to be hosted.<\/p>\n\n\n\n

In a world of many different cloud providers such as AWS, Azure, Google Cloud and smaller companies such as Digital Ocean<\/a> (Affiliate link that gets new Digital Ocean customers $100 in credit) this may prove to be a difficult task to choose.<\/p>\n\n\n\n

Even in cases where you app has no back-end and is self contained you may be looking for solutions to improve the quality of your mobile app and add more features your users are interested in.<\/p>\n\n\n\n

Firebase<\/a> is not only able to provide you the infrastructure for your back-end it can also can assist you in tackling a number of different pain points for mobile app developers without needing to invest significant resources in implementing this functionality yourself.<\/p>\n\n\n\n

In this post I will cover my 15 reasons why you should consider using Firebase in your mobile app.<\/p>\n\n\n\n

1. Add User Authentication to your App with Firebase Authentication<\/h2>\n\n\n\n
\"\"
Credits<\/a><\/figcaption><\/figure>\n\n\n\n

If you have an app where you need to control access to data the user is able to view inside the app or you want to create customised experiences within the app for the user you may want to consider using Firebase Authentication<\/a>.<\/p>\n\n\n\n

FirebaseUI Auth offers a drop in solution that can easily be customised to fit the branding of your app which supports the user interface flows for authentication such as sign up and sign in. Alternatively you use your existing user interface for handling authentication and integrate that with the Firebase Authentication SDK.<\/p>\n\n\n\n

Firebase Authentication supports email and password based authentication. It also supports authentication with 3rd party providers including Google, Facebook, Twitter, GitHub, Apple, Microsoft and Yahoo so that the users of your app don’t need to create an additional set of credentials to remember and manage to login to your app.<\/p>\n\n\n\n

\"\"
Credits<\/a><\/figcaption><\/figure>\n\n\n\n

When you create the Firebase Authentication credentials for your user you will receive back from Firebase a unique user ID which you can use to control to access to resources within your back-end system.<\/p>\n\n\n\n

Firebase Authentication will handle session management for you meaning the user can remain logged into your app even when it has been restarted.<\/p>\n\n\n\n

Firebase Authentication works across Android, iOS and the web making it a great choice when you think your user is likely to be accessing your app across different devices.<\/p>\n\n\n\n

Other capabilities offered by Firebase Authentication not mentioned above include.<\/p>\n\n\n\n