{"id":10382,"date":"2025-09-22T19:49:33","date_gmt":"2025-09-22T23:49:33","guid":{"rendered":"https:\/\/learndash.com\/support\/?post_type=docs&#038;p=10382"},"modified":"2025-09-23T10:42:21","modified_gmt":"2025-09-23T14:42:21","password":"","slug":"how-to-configure-google-firebase-for-your-learndash-app","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/learndash-app\/learndash-app-learndash-app\/how-to-configure-google-firebase-for-your-learndash-app\/","title":{"rendered":"How to Configure Google Firebase for Your LearnDash App"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-introduction\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p><strong><br><\/strong>Google Firebase Cloud Messaging powers push notifications on Android and iOS. Integrating Firebase V1 with your LearnDash App enables real-time alerts for your members. This guide covers creating a Firebase project, enabling the API, generating service keys, registering mobile apps, and uploading config files in WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-a-firebase-project\"><strong>Creating a Firebase Project<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the <a href=\"https:\/\/firebase.google.com\/\">Google Firebase Console<\/a>.<br><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"199\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-1.png\" alt=\"Screenshot of where to create a Firebase project\" class=\"wp-image-10758\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-1.png 697w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-1-400x114.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-1-360x103.png 360w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Click <strong>Add Project<\/strong>, enter a name, and click <strong>Continue<\/strong>.<br><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"423\" height=\"217\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-2.png\" alt=\"Screenshot of naming the Firebase project\" class=\"wp-image-10760\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-2.png 423w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-2-400x205.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-2-360x185.png 360w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>(Optional) Enable <strong>Google Analytics<\/strong>, select or accept the default account, and click <strong>Create Project<\/strong>.<br><\/li>\n\n\n\n<li>Once setup is complete, click <strong>Continue<\/strong> to open your new project.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-enabling-firebase-cloud-messaging-api-v1\"><strong>Enabling Firebase Cloud Messaging API (V1)<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Firebase, click the <strong>Settings gear &gt; Project settings<\/strong>.<br><\/li>\n\n\n\n<li>Go to the <strong>Cloud Messaging<\/strong> tab.<br><\/li>\n\n\n\n<li>If <strong>Firebase Cloud Messaging API (V1)<\/strong> is not enabled:<br>\n<ul class=\"wp-block-list\">\n<li>Click the <strong>\u22ee menu &gt; Manage API in Google Cloud Console<\/strong>.<br><\/li>\n\n\n\n<li>Click <strong>Enable<\/strong> on the Cloud Messaging API page.<br><\/li>\n\n\n\n<li>Confirm the API status shows <strong>Enabled<\/strong>.<br><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"92\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-3.png\" alt=\"Screenshot of Firebase Project of Overview\" class=\"wp-image-10761\"\/><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Go to the <strong>Cloud Messaging<\/strong> tab.<br><\/li>\n\n\n\n<li>If <strong>Firebase Cloud Messaging API (V1)<\/strong> is not enabled:<br>\n<ul class=\"wp-block-list\">\n<li>Click the <strong>\u22ee menu &gt; Manage API in Google Cloud Console<\/strong>.<br><\/li>\n\n\n\n<li>Click <strong>Enable<\/strong> on the Cloud Messaging API page.<br><\/li>\n\n\n\n<li>Confirm the API status shows <strong>Enabled<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"835\" height=\"466\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4.png\" alt=\"Cloud Messaging API Screenshot\" class=\"wp-image-10762\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4.png 835w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4-400x223.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4-800x446.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4-768x429.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-4-360x201.png 360w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-generating-a-firebase-service-account-key\"><strong>Generating a Firebase Service Account Key<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In <strong>Project settings > Service accounts<\/strong>, scroll to <strong>Firebase Admin SDK<\/strong>.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"82\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-5.png\" alt=\"Screenshot of Service Accounts Menu\" class=\"wp-image-10763\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-5.png 762w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-5-400x43.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-5-360x39.png 360w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/figure><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Click <strong>Generate new private key<\/strong>, then click <strong>Generate Key<\/strong> in the popup.<br><\/li>\n\n\n\n<li>Save the downloaded .json file securely (it can\u2019t be downloaded again).<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-firebase-apps\"><strong>Creating Firebase Apps<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"53\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-7.png\" alt=\"Screenshot of Firebase Platforms\" class=\"wp-image-10764\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-7.png 413w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-7-400x51.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-7-360x46.png 360w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/figure><\/div>\n\n\n<p><strong>iOS App:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the Firebase dashboard, click the <strong>iOS icon<\/strong>.<br><\/li>\n\n\n\n<li>Enter your <strong>Bundle ID<\/strong> from <strong>LearnDash App > Configure > iOS Settings<\/strong>.<br><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"864\" height=\"271\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8.png\" alt=\"Screenshot of Bundle ID configuration \" class=\"wp-image-10766\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8.png 864w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8-400x125.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8-800x251.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8-768x241.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-8-360x113.png 360w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click <strong>Register App<\/strong> and download the GoogleService-Info.plist.<br><\/li>\n<\/ol>\n\n\n\n<p><strong>Android App:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the <strong>Android icon<\/strong>.<br><\/li>\n\n\n\n<li>Enter your <strong>Application ID<\/strong> from <strong>Learndash App &gt; Configure &gt; Android Settings<\/strong>.<br><\/li>\n\n\n\n<li>Click <strong>Register App<\/strong> and download google-services.json.<br><\/li>\n\n\n\n<li>Click <strong>Next<\/strong> through steps 2\u20134 and finish with <strong>Done<\/strong>.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1036\" height=\"338\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9.png\" alt=\"Screenshot of Application ID\" class=\"wp-image-10765\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9.png 1036w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9-400x131.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9-800x261.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9-768x251.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Configure-Google-Firebase-for-your-Learndash-App-_-9-360x117.png 360w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-connecting-firebase-to-your-learndash-app\"><strong>Connecting Firebase to Your Learndash App<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In WordPress, go to <strong>LearnDash App > Configure > Google Firebase<\/strong>.<br><\/li>\n\n\n\n<li>Under <strong>Firebase Cloud Messaging API V1<\/strong>, click <strong>Upload<\/strong> to add the .json service account file.<br><\/li>\n\n\n\n<li>Upload your platform-specific files:<br>\n<ul class=\"wp-block-list\">\n<li>GoogleService-Info.plist for iOS<br><\/li>\n\n\n\n<li>google-services.json for Android<br><\/li>\n\n\n\n<li>(Optional) Test app config files<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Save Settings<\/strong>.<br><\/li>\n<\/ol>\n\n\n\n<p><em>Note: The V1 API supersedes the Legacy Cloud Messaging API.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-troubleshooting-and-faqs\"><strong>Troubleshooting and FAQs<\/strong><\/h2>\n\n\n\n<p><strong>Q: Push notifications aren\u2019t working.<\/strong><strong><br><\/strong> A: Confirm you uploaded the correct service account and config files. Rebuild the app to apply V1 settings.<\/p>\n\n\n\n<p><strong>Q: \u201cMissing API key\u201d error in Firebase tab.<\/strong><strong><br><\/strong> A: Ensure the V1 API is enabled in Google Cloud. Re-upload the JSON file and refresh.<\/p>\n\n\n\n<p><strong>Q: How do I regenerate my service key?<\/strong><strong><br><\/strong> A: Delete the old key under Service Accounts, then generate and upload a new one.<\/p>\n\n\n\n<p><strong>Q: Do test builds need separate config files?<\/strong><strong><br><\/strong> A: Yes. Upload both release and test config files before saving settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Google Firebase Cloud Messaging powers push notifications on Android and iOS. Integrating Firebase V1 with your LearnDash App enables real-time alerts for your members. This guide covers creating a Firebase project, enabling the API, generating service keys, registering mobile apps, and uploading config files in WordPress. Creating a Firebase Project Enabling Firebase Cloud Messaging&#8230;<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[284],"doc_tag":[],"knowledge_base":[283],"class_list":["post-10382","docs","type-docs","status-publish","hentry","doc_category-learndash-app-learndash-app","knowledge_base-learndash-app"],"year_month":"2026-04","word_count":443,"total_views":"828","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Stephanie Liy","author_link":"https:\/\/learndash.com\/support\/author\/stephaniei\/"},"doc_category_info":[{"term_name":"Getting Started with the LearnDash App","term_url":"https:\/\/learndash.com\/support\/kb\/learndash-app\/learndash-app-learndash-app\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":284,"label":"Getting Started with the LearnDash App"}],"knowledge_base":[{"value":283,"label":"LearnDash App"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"LearnDash App","term_url":"https:\/\/learndash.com\/support\/kb\/learndash-app\/","term_slug":"learndash-app"}],"knowledge_base_slug":["learndash-app"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=10382"}],"version-history":[{"count":2,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10382\/revisions"}],"predecessor-version":[{"id":10767,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10382\/revisions\/10767"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=10382"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=10382"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=10382"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=10382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}