{"id":123,"date":"2025-05-20T04:46:28","date_gmt":"2025-05-20T04:46:28","guid":{"rendered":"https:\/\/documentation.iqonic.design\/frezka\/?p=123"},"modified":"2025-06-10T05:22:22","modified_gmt":"2025-06-10T05:22:22","slug":"firebase-configuration","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/frezka\/firebase-configuration\/","title":{"rendered":"Firebase Configuration"},"content":{"rendered":"<div class=\"nolwrap\">\n<p>Setting up Firebase for your Frezka Project<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Creating A New Firebase Project<\/strong><\/h2>\n\n\n\n<p>1. We are creating the &#8220;Example&#8221; sample project. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1504\" height=\"736\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration1.png\" alt=\"\" class=\"wp-image-500\" \/><\/figure>\n\n\n\n<p>2. After completing the project, you will be presented with this type of dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1517\" height=\"766\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration2.png\" alt=\"\" class=\"wp-image-501\" \/><\/figure>\n\n\n\n<p>3. Go to the Project Settings and configure the Support Email.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1526\" height=\"737\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration3.png\" alt=\"\" class=\"wp-image-502\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add App With The Package Name In Firebase Console<\/strong><\/h2>\n\n\n\n<p>1. On the Firebase console, click the Android icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1516\" height=\"756\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration4.png\" alt=\"\" class=\"wp-image-503\" \/><\/figure>\n\n\n\n<p>2. Enter Package Name (e.g., com.iqonic.example) and click on register app.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"581\" height=\"734\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration5.png\" alt=\"\" class=\"wp-image-504\" \/><\/figure>\n\n\n\n<p>3. After registering the app, you will receive the Google JSON file; download it and save it to the Android folder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"754\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration6.png\" alt=\"\" class=\"wp-image-505\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Set Up Firebase Authentication<\/strong><\/h2>\n\n\n\n<p>1. Go to Build \u2192 Authentication tab and click on Get started.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1532\" height=\"759\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration7.png\" alt=\"\" class=\"wp-image-506\" \/><\/figure>\n\n\n\n<p>2. Then select the Email\/Password, Google, Apple, and Phone Number one by one and enable them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1515\" height=\"770\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration8.png\" alt=\"\" class=\"wp-image-507\" \/><\/figure>\n\n\n\n<p>3. Re-check if all these 3 modes of authentication are enabled or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1520\" height=\"768\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration9.png\" alt=\"\" class=\"wp-image-508\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Enable Firebase Notification in Mobile for Both Android and iOS<\/strong><\/h2>\n\n\n\n<p><strong>Obtain Project ID From Firebase<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on&nbsp;<strong>Project Overview<\/strong>&nbsp;\u2192&nbsp;<strong>Project Settings<\/strong>&nbsp;\u2192&nbsp;<strong>General<\/strong><\/li>\n\n\n\n<li>In General Settings Copy the&nbsp;<strong>\u201cProject ID from Firebase\u201d<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"773\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration10.png\" alt=\"\" class=\"wp-image-509\" \/><\/figure>\n\n\n\n<p><strong>Obtain Firebase Service Account Json file<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on Service accounts in the project Settings.<\/li>\n\n\n\n<li>Click on&nbsp;<strong>Generate new Private key<\/strong>&nbsp;Button and Download the service Json file.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"773\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration11.png\" alt=\"\" class=\"wp-image-510\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add Firebase Project ID and Service Account Json file to Admin Panel<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the Admin Panel, select the&nbsp;<strong>&#8220;Settings&#8221;<\/strong>&nbsp;option in the left sidebar under the System section.<\/li>\n\n\n\n<li>Select&nbsp;<strong>&#8220;Integration&#8221;<\/strong>&nbsp;and enable Firebase Notification.<\/li>\n\n\n\n<li>Add your Firebase Project ID and Upload your Firebase Service Account Json file and click on&nbsp;<strong>Save<\/strong>&nbsp;Button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1538\" height=\"540\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration12.png\" alt=\"\" class=\"wp-image-511\" \/><\/figure>\n\n\n\n<p><strong>INFO<\/strong><\/p>\n\n\n\n<p>If Service Account Json file upload fails due to permission issue or any other reason then,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open your backend code.<\/li>\n\n\n\n<li>Create folder with name&nbsp;<strong>&#8220;data&#8221;<\/strong>&nbsp;inside&nbsp;<strong>storage<\/strong>&nbsp;\u2192&nbsp;<strong>app<\/strong><\/li>\n\n\n\n<li>Place the Service Account JSON file inside the&nbsp;<strong>&#8220;data&#8221;<\/strong>&nbsp;folder.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add SHA fingerprint to Firebase<\/strong><\/h2>\n\n\n\n<p><strong>SHA FINGERPRINT<\/strong><\/p>\n\n\n\n<p><strong>SHA-1 fingerprint<\/strong>&nbsp;is used as part of the OAuth 2.0 flow to verify the identity of the Android app.<br>It ensures that only authorized apps can authenticate users and access Firebase Authentication services securely.<\/p>\n\n\n\n<p><strong>SHA-256 fingerprint<\/strong>&nbsp;is used to enhance the security of authentication mechanisms provided by Firebase, such as Google Sign-In or Phone Authentication.<\/p>\n\n\n\n<p>We need SHA1 and SHA256 for variant &amp; config&nbsp;<code>Debug<\/code>&nbsp;and&nbsp;<code>Release<\/code><\/p>\n\n\n\n<p><strong>WHY SHA IS NEEDED?<\/strong><\/p>\n\n\n\n<p>SHA (Secure Hash Algorithm) fingerprints are used for authentication and security purposes. When you integrate Firebase services into your Android app, such as Firebase Authentication, Firebase Cloud Messaging (FCM), Firebase Dynamic Links, etc., you need to register your app&#8217;s digital fingerprint, typically its SHA-1 or SHA-256 hash, with the Firebase project<\/p>\n\n\n\n<p>Firebase Authentication uses SHA fingerprints to ensure the security of authentication requests. When you register your app with Firebase, you provide its SHA-1 or SHA-256 fingerprint. Firebase uses this fingerprint to authenticate communication between your app and the Firebase backend servers. This helps prevent unauthorized access to Firebase resources and enhances the security of user authentication.<\/p>\n\n\n\n<p>Follow these steps to add a SHA certificate fingerprint for your Firebase Android app initially or if you want to add an additional one:<\/p>\n\n\n\n<p>1. In your Project settings, go to the Apps<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1470\" height=\"761\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration13.png\" alt=\"\" class=\"wp-image-512\" \/><\/figure>\n\n\n\n<p>2. Select the Firebase Android app to which you want to add a SHA fingerprint<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1499\" height=\"741\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration14.png\" alt=\"\" class=\"wp-image-513\" \/><\/figure>\n\n\n\n<p>3. Click Add fingerprint.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1478\" height=\"746\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration15.png\" alt=\"\" class=\"wp-image-514\" \/><\/figure>\n\n\n\n<p>4. Enter or paste the SHA fingerprint, then click Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1500\" height=\"765\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Firebase_Configuration16.png\" alt=\"\" class=\"wp-image-515\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to generate the SHA from Android Studio:<\/strong><\/h2>\n\n\n\n<p><strong>THERE ARE TWO TYPES OF SHA FINGERPRINT, RELEASE SHA FINGERPRINT, AND DEBUG SHA FINGERPRINT. HERE WE WILL SEE HOW TO GENERATE BOTH TYPES OF SHA FINGERPRINT.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/documentation.iqonic.design\/frezka\/app-faqs\/how-to-generate-the-sha-in-android-studio\">How to generate SHA in Android studio<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>SUCCESSFULL !!<\/strong><\/p>\n\n\n\n<p><strong><em>Great! You Have Successfully Configured Firebase!<\/em><\/strong><\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Setting up Firebase for your Frezka Project Creating A New Firebase Project 1. We are creating the &#8220;Example&#8221; sample project. 2. After completing the project, you will be presented with this type of dashboard. 3. Go to the Project Settings and configure the Support Email. Add App With The Package Name In Firebase Console 1. [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/frezka\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":5,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":995,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/123\/revisions\/995"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/117"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}