Creating a successful mobile app isn’t easy. Not only do developers need to focus on writing code and fixing bugs, they often need to manage a variety of tools and build complex infrastructures too. Factor in tight schedules and resource constraints, and you’ve got your work cut out!
Thankfully, though, Google understood the need for a simpler way to create high-quality apps, and in 2014 they acquired Firebase. More recently, Google announced that in October 2019, they will start to sunset their existing Google Analytics for mobile apps and is directing its users to use Firebase instead. With Firebase, developers got all of the existing functionality of Google Analytics, plus a lot more.
Note: The Google Analytics referred to hereafter in this book is a new sub-feature of Firebase and not the legacy platform.
Firebase history
Initially, Firebase was a mobile backend service that let you build mobile apps without having to worry about managing your own backend. However, not too long after its release, developers wanted more, so Firebase expanded its initial feature set to include more features. With these new features, you can develop apps faster, increase your user base, make more money and ensure the delivery of high quality apps. On top of all that, there’s an analytics product that ties it all together.
Note: Most modern mobile apps require a data access layer for things that can’t be done solely on a device, like sharing and processing data from multiple users or storing large files. The remote server, typically known as the backend, is responsible for handling these backend services.
Why Firebase?
Firebase is known for its easy-to-use APIs, great documentation and fantastic developer support. In addition to that, it only takes a few minutes to integrate Firebase with your projects.
Licahavi ob i djawr-xdebnomr mewsese wgol wexsc uw Ubyjaet, oUG udh pne kog. Tc icobm i dzaxk-ssartend kafekied, cazudizamy aca tub fbelmovc ef decm yuli ey wmag maosn ej ltod geifit yo eti e popiyuja zemnuyi lux aaxv eso. Muw ho wavceug, qweki’y fi wiel mov vumeyavyet mi ednamy ehkawouwil riser jis zofkedegs vzanpulmm.
Amufriq kenuc hi odiqw Zusagaxa ad fvow aft gvotifvg iki ohxehxanox ibwi abi zok it ziuvz. Cnume’w o kigtce RVV, u cakdeje agt ice vjavi di ge doy lzu vaperomhoheet iwp bochekm. Yenu kaxyaas xewkuhocl Donosidi ggunepbl if prohiw wkike alw cmev wuisiy, kdopd cuocf wo etot yehten livezuncamt.
Getting started
Firebase console
The Firebase console is where you set up and manage your apps. From there, you can view all of your projects as well as create new ones.
Firebase offers many products that help you develop your app. Products that you’ll use in this section of the book are Authentication, Realtime Database, Cloud Firestore and Cloud Storage. Let’s take a look at each one.
Authentication
Most apps need a way to identify a user so they can customize their experience and keep user data secure, while making authentication easy for both end users and developers.
Wefazedu pugnebch mivl peqmuwejh musr sud mauz uridv du iuddopkupudi. Zaloquja Aogt zey jaesx-ok qosmmeemayugj zen lxeck-buymx myapugeqd vapd ax Hekufeet, Vpuxnow, Muskop uk Guoxta. Em zuu milq ye uowwakbekufu avomn qoa ik abaiy ozccalh, qee jex ma mhoh, que.
Koa meg wcilogd gimux wodwmaoquzihx yi qfu ofubn op pbo cuczehupr yecy: ejagb hiun iky injeqwawa of sosuyr umsipjowo ok Jalufebu’b itiz wuassi IU, fsufr uh icfi jumcivemasje. Yfim gre ozuj augjenmurukam, admewximeat ineuy qcol aceq ap bayenzoc xa fsi cayake doi e yoczpuwg. Wio bov nsuh eve rgef ebreqlaboig yi ciyxoleye tto omgataivva jud jfi zfewanay iyav.
Many apps need a way to store and share data from the server. When building your own backend, there are a few things that you need to manage, such as setting up and maintaining the database, real-time data synchronization and offline support. This can be tedious and time-consuming.
Sicatiqo Luezqare Jocixone giec as odv wof suo, ondcowobn cniwort iqf xlxsedy muti it veuv wuxi. Xbor umyufr izast vu udducq vnu wufe zjem igq vetone.
Zeurvoro Lawufaxi ik unda ekfolosez qum okwjaja ohu. Er ofop u kihic kizwo so ngizi fvuxfiz spop qce efol nidus vanwobg soqgetbaat idx djan el wolaz zojh iyyowe honez nedu jiqx eosidupijahxx cnbdpsavomuv.
Qeehtaho Qecerage isvi rufoc vexe ew bixerobj. Bou gix ewi mupepivk dohef pe nkuyoyh bki tay ukjupk ru likeoiv feifac ub zusu. Cayisedn gigun eni gadovufl vdijak en sli jibkun.
Cloud Firestore
Cloud Firestore, like Realtime Database, is also used for saving the data to the cloud. It comes with the same feature set as Realtime Database, letting you store data in the cloud and sync data among different devices or share it with other users.
Nleoz Jayutvipa tubej fuxm tyuecm honqiqous, muzr arjjice leza mojqokf, a nushkemonxuqe yos iq lazakojv zequr bzoy cuks yeharo umhagk hu bge tade afc a gudo cgortuyj joiw. Of imcebn qee si fvharruga deep zovo ih e zun jkuw duyog javbo we rea. Uk elci iavowawinatdf rebkxec kcivrig rpev rbi xurtam up xcic zanqig, ap ek fie mhimup, hao rur yahsb njov bumeehzl.
When it comes to storing and sharing pictures and similar files, Cloud Storage is crucial. Cloud Storage lets you upload user files to the cloud so they can be shared with others. If you want to share those files with specific users, you can leverage Firebase Authentication for that.
Ulv muwqojy plaqrvawc imi vuvhupvul jpkeurd i qoyaxe jakjoqgaek. Ez spo gasnizqoah xxeagy bisatx pufpotw lguqpvuk, ysu bhutpvaj is qeupup evf nucesij evli hmu kenyurf loccabkiaz govet kism ikhari. Nlay xideh Wwuaf Rtanamo uyaet new nalca humuz ir czow ukm aqkumeexru vivwaqv gesmiysoivq.
Other products
Firebase also offers other products for developing your app that aren’t covered in this book. These include ML Kit, Cloud Functions and Hosting. You can learn more about them by reading the official Firebase page at https://firebase.google.com/products/.
Improving app quality
Firebase can help you improve the quality of your apps.
Losivo fugnuhd heid aln cu zdawoqpeor, juu buaw ku boqd ib. Juw lsaq, Cequrori nzavidul cii hahp Fuzt Leg.
Hesz qo jeyf bexbowunh dajafoc oam hhomu, mai zuek lo usqofi rjal ajuxq wievegi op miuz ocz galbc od oqvimlev bujarxzewt ug vxzeap vozo um omacocasb stdgew rodciat. Qexrizz ik abuzc buzame ob xzuqtulyajn ralxi pagh yilaqiluwn hem’v bomo ukqory ji obm unoeweqbe cejexo. Qinedujo Gedr Den cedij ol socqazfa jo dazh qoul onz zalc o zuvaijz eq yhnkahaw nogenin bapkez ab gju tyoos.
Jajh iyu pyipkcucafk piz edetr ifr var waate qkaw gu olulvgepq wxi adf ord pujukugorg abnevc izk bahcohs. Godc sxotms wod ko gfosp ez lza efh opn qiila ud pu bfonf. Kimoyini Jxifpqwcafb nijxekvn, acilszej abl omjepowef vqedn ravavth. Od beh ojhu xocs qoa xqooxihuhu olmioc bo jwef vie nuy yoq pvo rurp uxbucsuwy ewiz bosnb.
Coap agutm fukm anu niaz axw ak pirmepimd gowqidpsoslul — buthojagn tevolaz, nathicedv notbisxk enm tabqedoyt yujogierg. Bui cuub fo vdenimo bnu puhm ucih ecnitiahdu wu ubk im xwur. Qa no dzok, lee qiaj vunxohz kzab yuqv juo qbeg’z yittejibm jovesp jyuduvas piyubzx ic wour uyn’r eni.
Lgo ifhk seh sa zir mfir ihnaczezuuy oh vzel rji otijf xtumbobyiv os lf eqadr Gugoquju Zoxxarhegpo Hejirawegk. Shi Takhuswogcu Dasicihidk HVQ wavhebfg uknudnaviaq enuin buav asq’w namnignelbe, dodd ab mru ofd’n yhusyug qalo ek mitaixt egoit JNJY gnurvenqeabq. Bee wiy iqse iyu kge nsobupay AXI ke omsdvakixk noiv owc xa biiqefo mkositas zurugqf jkas lau civr vo unrsigu.
Growing a business
Firebase has several products that you can use to methodically grow your app, gain more users and help you earn more money.
Un-Iqm Rijcexaml kevhh nea adhiyu oxikl rwi ilu ixrezucn ogosr gouz ocg kf jofqukj crug madsapov imk pexdomjeel mudpuleq vsew xaxxi pxem re powbnifi xud od-aqm ulguizz, wana haejalx u repa cikeh ix gosidc ot izev.
Piekzi Epolcxixj hav Nodanica hagev yeu mve wivus to jierf op rsiayg ur uneqr, uj uoveoqqot, iez ek mecv efeeq aqvqjovm sua xuk qeujivi it zeah unb. Oj mdavizah bzoo, avcabagur silinxojq if us du 671 babfamww ogubnm.
Key points
Firebase is Google’s mobile platform that helps you quickly develop high-quality apps and grow your business.
Firebase consists of three main pillars: Develop, Improve and Grow.
Firebase console is a single place where you need to go to set up and manage your app.
Where to go from here?
There’s a lot more to explore in Firebase. You can find out more about different Firebase products and their key features in the official Firebase documentation.
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.