अन्य चुनौतियाँ हैं या आपकी समस्या नीचे उल्लिखित नहीं है? कृपया बग की रिपोर्ट करें या किसी सुविधा का अनुरोध करें और स्टैक ओवरफ़्लो चर्चाओं में शामिल हों।
Firebase प्रोजेक्ट और Firebase ऐप्लिकेशन
फायरबेस प्रोजेक्ट क्या है?
एक प्रोजेक्ट ऐप्पल, एंड्रॉइड और वेब प्लेटफॉर्म पर ऐप्स के लिए एक कंटेनर है। यह आपके क्रॉस-प्लेटफ़ॉर्म ऐप्स के बीच डेटाबेस, कॉन्फिग और नोटिफिकेशन जैसी सुविधाओं को साझा करने का समर्थन करता है।
आपको एक ही प्रोजेक्ट में ऐप्पल, एंड्रॉइड और वेब ऐप वेरिएंट जोड़ना चाहिए। आप विकास, मंचन और उत्पादन जैसे कई वातावरणों का समर्थन करने के लिए कई परियोजनाओं का उपयोग कर सकते हैं।
Google क्लाउड संगठन क्या है?
Google क्लाउड संगठन Google क्लाउड प्रोजेक्ट (Firebase प्रोजेक्ट सहित) के लिए एक कंटेनर है। यह पदानुक्रम आपके Google क्लाउड और फायरबेस प्रोजेक्ट्स के बेहतर संगठन, एक्सेस प्रबंधन और ऑडिटिंग को सक्षम बनाता है। अधिक जानकारी के लिए, संगठन बनाना और प्रबंधित करना देखें।
मैं किसी मौजूदा Google क्लाउड प्रोजेक्ट में Firebase कैसे जोड़ूं?
आपके पास Google क्लाउड कंसोल या Google API कंसोल के माध्यम से प्रबंधित मौजूदा प्रोजेक्ट हो सकते हैं। डिफ़ॉल्ट रूप से, ये प्रोजेक्ट Firebase कंसोल में दिखाई देते हैं, लेकिन इन्हें Firebase प्रोजेक्ट नहीं माना जाता है।
अपने मौजूदा Google क्लाउड प्रोजेक्ट में Firebase जोड़ने के लिए, Firebase कंसोल लैंडिंग पृष्ठ पर प्रोजेक्ट जोड़ें पर क्लिक करें, फिर प्रोजेक्ट नाम मेनू में अपना प्रोजेक्ट चुनें।
मेरे पास प्रति खाता कितने प्रोजेक्ट हो सकते हैं?
- स्पार्क मूल्य निर्धारण योजना — आपका प्रोजेक्ट कोटा कुछ छोटी परियोजनाओं (आमतौर पर लगभग 5-10) तक सीमित है।
- ब्लेज़ मूल्य निर्धारण योजना — जब तक आपका क्लाउड बिलिंग खाता अच्छी स्थिति में है, तब तक प्रति क्लाउड बिलिंग खाते में आपका प्रोजेक्ट कोटा काफी बढ़ जाता है।
अधिकांश डेवलपर्स के लिए प्रोजेक्ट कोटा की सीमा शायद ही कभी चिंता का विषय होती है, लेकिन यदि आवश्यक हो, तो आप अपने प्रोजेक्ट कोटा में वृद्धि का अनुरोध कर सकते हैं।
ध्यान दें कि किसी प्रोजेक्ट को पूरी तरह से हटाने के लिए 30 दिनों की आवश्यकता होती है और इसे पूरी तरह से हटाए जाने तक आपके कोटा में गिना जाता है।
एक Firebase प्रोजेक्ट में मेरे पास कितने Firebase ऐप्स हो सकते हैं?
Firebase प्रोजेक्ट, Apple, Android और वेब पर Firebase ऐप्स के लिए एक कंटेनर है। Firebase किसी Firebase प्रोजेक्ट में Firebase ऐप्लिकेशन की कुल संख्या को 30 तक सीमित करता है।
इस संख्या के बाद, प्रदर्शन कम होना शुरू हो जाता है (विशेषकर Google Analytics के लिए) और अंततः, अधिक संख्या में ऐप्स पर, कुछ उत्पाद कार्यक्षमता काम करना बंद कर देती है। इसके अतिरिक्त, किसी प्रोजेक्ट में Firebase ऐप जोड़ने से एक या अधिक अंतर्निहित OAuth 2.0 क्लाइंट आईडी बन जाते हैं। लगभग 30 क्लाइंट आईडी की एक सीमा होती है, जिन्हें एक ही प्रोजेक्ट में बनाया जा सकता है।
आपको यह सुनिश्चित करना चाहिए कि एक ही Firebase प्रोजेक्ट के सभी Firebase ऐप्स अंतिम-उपयोगकर्ता के दृष्टिकोण से एक ही एप्लिकेशन के प्लेटफ़ॉर्म वेरिएंट हैं। उदाहरण के लिए, यदि आप एक सफेद लेबल एप्लिकेशन विकसित करते हैं, तो प्रत्येक स्वतंत्र रूप से लेबल किए गए ऐप का अपना फायरबेस प्रोजेक्ट होना चाहिए, लेकिन उस लेबल के ऐप्पल और एंड्रॉइड संस्करण एक ही प्रोजेक्ट में हो सकते हैं। Firebase प्रोजेक्ट स्थापित करने के लिए हमारे सामान्य सर्वोत्तम अभ्यासों में अधिक विस्तृत मार्गदर्शन पढ़ें।
दुर्लभ स्थिति में आपके प्रोजेक्ट के लिए 30 से अधिक ऐप्स की आवश्यकता होती है, आप ऐप की सीमा बढ़ाने का अनुरोध कर सकते हैं। यह अनुरोध करने के लिए आपका प्रोजेक्ट ब्लेज़ मूल्य निर्धारण योजना पर होना चाहिए। अपना अनुरोध करने और उसका मूल्यांकन करने के लिए Google क्लाउड कंसोल पर जाएं। Google क्लाउड दस्तावेज़ में कोटा प्रबंधन के बारे में अधिक जानें।
यदि मैं अपने प्रोजेक्ट को "उत्पादन" परिवेश के रूप में टैग करता हूँ तो क्या होगा?
Firebase कंसोल में, आप अपने Firebase प्रोजेक्ट को उनके परिवेश प्रकार के साथ टैग कर सकते हैं, या तो उत्पादन या अनिर्दिष्ट (गैर-उत्पाद) परिवेश के रूप में।
अपने प्रोजेक्ट को किसी परिवेश प्रकार के रूप में टैग करने से आपका Firebase प्रोजेक्ट कैसे काम करता है या इसकी विशेषताओं पर कोई प्रभाव नहीं पड़ता है। हालांकि, टैगिंग से आपको और आपकी टीम को ऐप्लिकेशन के जीवनचक्र के लिए आपके विभिन्न Firebase प्रोजेक्ट प्रबंधित करने में सहायता मिल सकती है.
यदि आप अपने प्रोजेक्ट को उत्पादन परिवेश के रूप में टैग करते हैं, तो हम Firebase कंसोल में प्रोजेक्ट में एक चमकीले रंग का उत्पाद टैग जोड़ते हैं, जो आपको याद दिलाता है कि कोई भी परिवर्तन आपके संबद्ध उत्पादन ऐप्स को प्रभावित कर सकता है। भविष्य में, हम उत्पादन परिवेश के रूप में टैग किए गए Firebase प्रोजेक्ट के लिए और अधिक सुविधाएं और सुरक्षा उपाय जोड़ सकते हैं।
अपने फायरबेस प्रोजेक्ट के पर्यावरण प्रकार को बदलने के लिए, settings प्रोजेक्ट सेटिंग्स > सामान्य पर जाएं, फिर एनवायरनमेंट के तहत योर प्रोजेक्ट कार्ड में, पर्यावरण प्रकार बदलने के लिए edit पर क्लिक करें।
मुझे अपने फायरबेस ऐप के लिए ऐप आईडी कहां मिल सकती है?
फायरबेस कंसोल में, अपनी settings प्रोजेक्ट सेटिंग्स पर जाएं। योर ऐप्स कार्ड तक नीचे स्क्रॉल करें, फिर ऐप आईडी सहित ऐप की जानकारी देखने के लिए वांछित फायरबेस ऐप पर क्लिक करें।
यहां कुछ उदाहरण ऐप आईडी मान दिए गए हैं:
- फायरबेस आईओएस ऐप्स:
1:1234567890:ios:321abc456def7890
- फायरबेस एंड्रॉइड ऐप्स:
1:1234567890:android:321abc456def7890
- फायरबेस वेब ऐप्स:
1:1234567890:web:321abc456def7890
Play/AdMob/AdWords/BigQuery को मेरे Firebase प्रोजेक्ट या ऐप्लिकेशन से जोड़ने के लिए क्या शर्तें हैं?
- अपने Google Play खाते को लिंक करने के लिए, आपको निम्नलिखित की आवश्यकता होगी:
- निम्न में से कोई भी Firebase भूमिका: स्वामी या Firebase व्यवस्थापक
और - निम्न में से कोई भी Google Play पहुंच स्तर: खाता स्वामी या व्यवस्थापक
- निम्न में से कोई भी Firebase भूमिका: स्वामी या Firebase व्यवस्थापक
- अपना AdMob ऐप्लिकेशन लिंक करने के लिए, आपको Firebase प्रोजेक्ट का स्वामी और AdMob व्यवस्थापक दोनों होना आवश्यक है.
- अपने AdWords खाते को लिंक करने के लिए, आपका एक Firebase प्रोजेक्ट स्वामी और एक AdWords व्यवस्थापक दोनों होना आवश्यक है.
- अपना BigQuery प्रोजेक्ट लिंक करने के लिए, आपको Firebase प्रोजेक्ट का स्वामी होना आवश्यक है.
मुझे अपने ऐप में कौन से ओपन सोर्स नोटिस शामिल करने चाहिए?
Apple प्लेटफ़ॉर्म पर, Firebase पॉड में एक NOTICES फ़ाइल होती है जिसमें प्रासंगिक प्रविष्टियाँ शामिल होती हैं। फायरबेस एंड्रॉइड एसडीके में लाइसेंस जानकारी दिखाने के लिए एक सहायक Activity
है।
Firebase प्रोजेक्ट की अनुमतियां और एक्सेस
मैं किसी प्रोजेक्ट सदस्य को स्वामी की भूमिका जैसी भूमिका कैसे सौंपूं?
प्रत्येक प्रोजेक्ट सदस्य को सौंपी गई भूमिका (भूमिकाओं) को प्रबंधित करने के लिए, आपको resourcemanager.projects.setIamPolicy
प्रोजेक्ट का स्वामी होना चाहिए (या अनुमति के साथ एक भूमिका सौंपी जानी चाहिए)।
यहां वे स्थान दिए गए हैं जहां आप भूमिकाएं असाइन और प्रबंधित कर सकते हैं:
- फायरबेस कंसोल settings > प्रोजेक्ट सेटिंग्स के उपयोगकर्ता और अनुमति टैब में प्रोजेक्ट सदस्यों को भूमिकाएं सौंपने का एक सरल तरीका प्रदान करता है। Firebase कंसोल में, आप कोई भी मूलभूत भूमिकाएं (स्वामी, संपादक, व्यूअर), Firebase व्यवस्थापक/दर्शक भूमिकाएं , या कोई भी Firebase पूर्वनिर्धारित उत्पाद-श्रेणी भूमिकाएं असाइन कर सकते हैं।
- Google क्लाउड कंसोल IAM पृष्ठ में प्रोजेक्ट सदस्यों को भूमिकाएँ सौंपने के लिए उपकरणों का एक विस्तृत सेट प्रदान करता है। क्लाउड कंसोल में, आप कस्टम भूमिकाएं भी बना सकते हैं और प्रबंधित कर सकते हैं, साथ ही सेवा खातों को अपने प्रोजेक्ट तक पहुंच प्रदान कर सकते हैं।
ध्यान दें कि Google क्लाउड कंसोल में, प्रोजेक्ट सदस्यों को प्रिंसिपल कहा जाता है।
यदि आपके प्रोजेक्ट का स्वामी अब स्वामी के कार्यों को नहीं कर सकता है (उदाहरण के लिए, व्यक्ति ने आपकी कंपनी छोड़ दी है) और आपका प्रोजेक्ट Google क्लाउड संगठन (अगला पैराग्राफ देखें) के माध्यम से प्रबंधित नहीं किया जाता है, तो आप Firebase सहायता से संपर्क कर सकते हैं एक अस्थायी मालिक सौंपा।
ध्यान दें कि अगर कोई Firebase प्रोजेक्ट Google क्लाउड संगठन का हिस्सा है, तो हो सकता है कि उसका कोई मालिक न हो. यदि आप अपने Firebase प्रोजेक्ट के लिए स्वामी नहीं ढूंढ पा रहे हैं, तो उस व्यक्ति से संपर्क करें जो प्रोजेक्ट के लिए स्वामी असाइन करने के लिए आपके Google क्लाउड संगठन को प्रबंधित करता है।
मैं किसी Firebase प्रोजेक्ट के स्वामी का पता कैसे लगा सकता हूं?
आप परियोजना के सदस्यों और उनकी भूमिकाओं को निम्नलिखित स्थानों पर देख सकते हैं:
- यदि आपके पास Firebase कंसोल में प्रोजेक्ट तक पहुंच है, तो आप Firebase कंसोल के उपयोगकर्ता और अनुमति पृष्ठ में स्वामी सहित प्रोजेक्ट सदस्यों की सूची देख सकते हैं।
- अगर आपके पास Firebase कंसोल में प्रोजेक्ट तक पहुंच नहीं है, तो जांच लें कि क्या आपके पास Google क्लाउड कंसोल में प्रोजेक्ट तक पहुंच है। आप Google क्लाउड कंसोल के IAM पृष्ठ में स्वामी सहित परियोजना सदस्यों की सूची देख सकते हैं।
यदि आपके प्रोजेक्ट का स्वामी अब स्वामी के कार्यों को नहीं कर सकता है (उदाहरण के लिए, व्यक्ति ने आपकी कंपनी छोड़ दी है) और आपका प्रोजेक्ट Google क्लाउड संगठन (अगला पैराग्राफ देखें) के माध्यम से प्रबंधित नहीं किया जाता है, तो आप Firebase सहायता से संपर्क कर सकते हैं एक अस्थायी मालिक सौंपा।
ध्यान दें कि अगर कोई Firebase प्रोजेक्ट Google क्लाउड संगठन का हिस्सा है, तो हो सकता है कि उसका कोई मालिक न हो. इसके बजाय, वह व्यक्ति जो आपके Google क्लाउड संगठन का प्रबंधन करता है, वह कई कार्य कर सकता है जो एक स्वामी कर सकता है। हालांकि, कई स्वामी-विशिष्ट कार्य (जैसे भूमिकाएं असाइन करना या Google Analytics प्रॉपर्टी प्रबंधित करना) करने के लिए, व्यवस्थापक को उन कार्यों को करने के लिए स्वयं को वास्तविक स्वामी भूमिका सौंपने की आवश्यकता हो सकती है। यदि आप अपने Firebase प्रोजेक्ट के लिए स्वामी नहीं ढूंढ पा रहे हैं, तो उस व्यक्ति से संपर्क करें जो प्रोजेक्ट के लिए स्वामी असाइन करने के लिए आपके Google क्लाउड संगठन को प्रबंधित करता है।
मुझे प्रोजेक्ट सदस्य को स्वामी की भूमिका क्यों या कब सौंपनी चाहिए?
Firebase प्रोजेक्ट का उचित प्रबंधन सुनिश्चित करने के लिए, उसके पास एक स्वामी होना चाहिए। किसी प्रोजेक्ट का स्वामी वह व्यक्ति होता है जो कई महत्वपूर्ण प्रशासनिक कार्य कर सकता है (जैसे भूमिकाएं असाइन करना और Google Analytics प्रॉपर्टी प्रबंधित करना), और Firebase समर्थन केवल प्रदर्शित प्रोजेक्ट स्वामियों के व्यवस्थापकीय अनुरोधों को पूरा कर सकता है।
किसी Firebase प्रोजेक्ट के लिए स्वामी (स्वामी) सेट अप करने के बाद, उन असाइनमेंट को अप-टू-डेट रखना महत्वपूर्ण है.
ध्यान दें कि अगर कोई Firebase प्रोजेक्ट किसी Google क्लाउड संगठन का हिस्सा है, तो आपके Google क्लाउड संगठन को प्रबंधित करने वाला व्यक्ति ऐसे कई काम कर सकता है जो एक मालिक कर सकता है. हालांकि, कई स्वामी-विशिष्ट कार्यों (जैसे भूमिकाएं असाइन करना या Google Analytics प्रॉपर्टी प्रबंधित करना) के लिए, व्यवस्थापक को उन कार्यों को करने के लिए स्वयं को वास्तविक स्वामी भूमिका सौंपने की आवश्यकता हो सकती है।
मुझे नहीं लगता कि मेरे पास फायरबेस प्रोजेक्ट है, लेकिन मुझे एक के बारे में एक ईमेल मिला है। मैं इस परियोजना तक कैसे पहुँच सकता हूँ?
आपके द्वारा प्राप्त ईमेल में आपके Firebase प्रोजेक्ट को खोलने के लिए एक लिंक होना चाहिए। ईमेल में लिंक पर क्लिक करने से प्रोजेक्ट फायरबेस कंसोल में खुल जाएगा।
यदि आप लिंक में प्रोजेक्ट को खोलने में सक्षम नहीं हैं, तो सुनिश्चित करें कि आपने उसी Google खाते का उपयोग करके Firebase में साइन इन किया है जिसे प्रोजेक्ट के बारे में ईमेल प्राप्त हुआ है। आप कंसोल के ऊपरी-दाएं कोने में अपने खाता अवतार के माध्यम से फायरबेस कंसोल में साइन इन और आउट कर सकते हैं।
ध्यान दें कि अगर आप किसी Google क्लाउड संगठन के व्यवस्थापक हैं, तो आपको अपने संगठन के अंदर Firebase प्रोजेक्ट में हुए परिवर्तनों के बारे में सूचित किया जा सकता है। हालाँकि, हो सकता है कि आपके पास Firebase प्रोजेक्ट को खोलने के लिए पर्याप्त अनुमतियाँ न हों। इन मामलों में, सबसे सरल उपाय यह है कि परियोजना को खोलने और आवश्यक कार्य करने के लिए स्वयं को वास्तविक स्वामी की भूमिका सौंपी जाए। स्वामी की भूमिका क्यों और कब असाइन करनी है, इस बारे में अधिक जानें।
प्लेटफार्म और चौखटे
अधिक सामान्य प्रश्नों के लिए उपयोगी युक्तियों और उत्तरों के लिए प्लेटफ़ॉर्म-विशिष्ट समस्या निवारण और अक्सर पूछे जाने वाले प्रश्न पृष्ठों पर जाएँ।
फायरबेस कंसोल
फ़ायरबेस कंसोल तक पहुँचने के लिए समर्थित ब्राउज़र कौन से हैं?
फायरबेस कंसोल को क्रोम, फायरफॉक्स, सफारी और एज जैसे लोकप्रिय डेस्कटॉप ब्राउज़र के हाल के संस्करणों से एक्सेस किया जा सकता है। मोबाइल ब्राउज़र वर्तमान में पूरी तरह से समर्थित नहीं हैं।
मैं अपने Firebase प्रोजेक्ट को Firebase कंसोल में एक्सेस क्यों नहीं कर सकता?
अगर आप अपने Firebase प्रोजेक्ट को Firebase कंसोल में एक्सेस नहीं कर पा रहे हैं, तो जांच लें कि आप प्रोजेक्ट के URL पर जाकर प्रोजेक्ट को एक्सेस कर सकते हैं। निम्नलिखित प्रारूप का प्रयोग करें:
https://console.firebase.google.com/project/ PROJECT-ID /overview
यदि आप अभी भी प्रोजेक्ट तक नहीं पहुंच पा रहे हैं, तो निम्न जांचें:
- सुनिश्चित करें कि आपने उसी Google खाते का उपयोग करके फ़ायरबेस में साइन इन किया है जिसके पास प्रोजेक्ट तक पहुंच है। आप कंसोल के ऊपरी-दाएं कोने में अपने खाता अवतार के माध्यम से फायरबेस कंसोल में साइन इन और आउट कर सकते हैं।
- सुनिश्चित करें कि प्रोजेक्ट के लिए Firebase प्रबंधन API सक्षम है।
- सुनिश्चित करें कि आपको बुनियादी IAM भूमिकाओं में से एक (स्वामी, संपादक, दर्शक) या ऐसी भूमिका सौंपी गई है जिसमें Firebase से संबंधित अनुमतियां हैं, उदाहरण के लिए एक Firebase पूर्वनिर्धारित भूमिका . आप अपनी भूमिका (भूमिकाओं) को Google क्लाउड कंसोल के IAM पृष्ठ में देख सकते हैं।
- अगर आपका प्रोजेक्ट किसी Google क्लाउड संगठन से संबंधित है, तो आपको प्रोजेक्ट को Firebase कंसोल में सूचीबद्ध देखने के लिए अतिरिक्त अनुमतियों की आवश्यकता हो सकती है। उस व्यक्ति से संपर्क करें जो आपके Google क्लाउड संगठन को प्रबंधित करता है ताकि आपको प्रोजेक्ट देखने के लिए उपयुक्त भूमिका प्रदान की जा सके, उदाहरण के लिए ब्राउज़र भूमिका।
अगर आपके लिए फायरबेस कंसोल लोड नहीं हो रहा है, तो यह अक्सर पूछे जाने वाले प्रश्न देखें।
फ़ायरबेस कंसोल मेरे लिए लोड क्यों नहीं हो रहा है?
अगर आपको Firebase कंसोल लोड करने में समस्या आ रही है, तो कोशिश करने के लिए यहां कुछ समस्या निवारण चरण दिए गए हैं:
- किसी भी संभावित सेवा रुकावट के लिए Firebase स्थिति डैशबोर्ड की कंसोल पंक्ति की जाँच करें।
- सुनिश्चित करें कि आप एक समर्थित ब्राउज़र का उपयोग कर रहे हैं।
- फायरबेस कंसोल को गुप्त या निजी विंडो में लोड करने का प्रयास करें।
- सभी ब्राउज़र एक्सटेंशन अक्षम करें।
- जांचें कि क्या आपके कनेक्शन को अवरुद्ध करने वाली कोई चीज हो सकती है जैसे एंटीवायरस सॉफ़्टवेयर, नेटवर्क प्रॉक्सी, या फ़ायरवॉल। यदि ऐसा है, तो उन्हें अक्षम करने का प्रयास करें।
- किसी भिन्न नेटवर्क या डिवाइस का उपयोग करके Firebase कंसोल को लोड करने का प्रयास करें।
यदि उपरोक्त समस्या निवारण चरणों में से कोई भी समस्या का समाधान नहीं करता है, तो कृपया सहायता से संपर्क करें ।
मेरी Firebase कंसोल भाषा कैसे निर्धारित की जाती है?
Firebase कंसोल के लिए भाषा सेटिंग आपकी Google खाता सेटिंग में चुनी गई भाषा पर आधारित होती है।
अपनी भाषा वरीयता बदलने के लिए, भाषा बदलें देखें।
फायरबेस कंसोल निम्नलिखित भाषाओं का समर्थन करता है:
- अंग्रेज़ी
- ब्राजिलियन पुर्तगाली
- फ्रेंच
- जर्मन
- इन्डोनेशियाई
- जापानी
- कोरियाई
- रूसी
- सरलीकृत चीनी
- स्पैनिश
- परंपरागत चीनी
Firebase कंसोल किन भूमिकाओं और अनुमतियों का समर्थन करता है?
फायरबेस कंसोल और Google क्लाउड कंसोल समान अंतर्निहित भूमिकाओं और अनुमतियों का उपयोग करते हैं। Firebase IAM दस्तावेज़ में भूमिकाओं और अनुमतियों के बारे में अधिक जानें।
फायरबेस मालिक, संपादक और दर्शक की मौलिक (मूल) भूमिकाओं का समर्थन करता है:
- एक प्रोजेक्ट स्वामी प्रोजेक्ट में अन्य सदस्यों को जोड़ सकता है, एकीकरण सेट कर सकता है (बिगक्वेरी या स्लैक जैसी सेवाओं से लिंक करने वाला प्रोजेक्ट), और प्रोजेक्ट के लिए पूर्ण संपादन एक्सेस प्राप्त कर सकता है।
- प्रोजेक्ट संपादक के पास प्रोजेक्ट के लिए पूर्ण संपादन एक्सेस है।
- प्रोजेक्ट व्यूअर के पास प्रोजेक्ट के लिए केवल पढ़ने की पहुंच है। ध्यान दें कि फ़ायरबेस कंसोल वर्तमान में प्रोजेक्ट व्यूअर से UI नियंत्रणों को संपादित/अक्षम नहीं करता है, लेकिन प्रोजेक्ट सदस्यों को व्यूअर की भूमिका सौंपे जाने के लिए ये ऑपरेशन विफल हो जाएंगे।
फायरबेस भी समर्थन करता है:
- फायरबेस पूर्वनिर्धारित भूमिकाएं - क्यूरेटेड फायरबेस-विशिष्ट भूमिकाएं जो मालिक, संपादक और दर्शक की बुनियादी भूमिकाओं की तुलना में अधिक बारीक पहुंच नियंत्रण को सक्षम करती हैं।
- कस्टम भूमिकाएँ — पूरी तरह से अनुकूलित IAM भूमिकाएँ जो आप अनुमतियों के एक सेट को तैयार करने के लिए बनाते हैं जो आपके संगठन की विशिष्ट आवश्यकताओं को पूरा करती हैं।
मूल्य निर्धारण
किन उत्पादों का भुगतान किया जाता है? जो बिना लागत के हैं?
फायरबेस के सशुल्क इंफ्रास्ट्रक्चर उत्पाद रीयलटाइम डेटाबेस, फायरबेस के लिए क्लाउड स्टोरेज, क्लाउड फ़ंक्शंस, होस्टिंग, टेस्ट लैब और फोन प्रमाणीकरण हैं। हम इन सभी सुविधाओं के लिए नो-कॉस्ट टियर की पेशकश करते हैं।
फायरबेस में कई बिना लागत वाले उत्पाद भी हैं: एनालिटिक्स, क्लाउड मैसेजिंग, नोटिफिकेशन कंपोजर, रिमोट कॉन्फिग, ऐप इंडेक्सिंग, डायनेमिक लिंक और क्रैश रिपोर्टिंग। आप सभी योजनाओं में इनमें से किसी भी उत्पाद की असीमित राशि का उपयोग कर सकते हैं, जिसमें हमारी बिना लागत वाली स्पार्क योजना भी शामिल है। इसके अलावा, फ़ोन प्रमाणीकरण से परे सभी प्रमाणीकरण सुविधाएँ बिना किसी लागत के हैं।
क्या Firebase सशुल्क उत्पादों के लिए निःशुल्क परीक्षण क्रेडिट प्रदान करता है?
Google क्लाउड फ्री ट्रायल के तहत फायरबेस सशुल्क सेवाओं का उपयोग किया जा सकता है। नए Google क्लाउड और फायरबेस उपयोगकर्ता 90-दिवसीय परीक्षण अवधि का लाभ उठा सकते हैं, जिसमें Google क्लाउड और फायरबेस उत्पादों और सेवाओं का पता लगाने और उनका मूल्यांकन करने के लिए $300 का निःशुल्क क्लाउड बिलिंग क्रेडिट शामिल है।
Google क्लाउड नि:शुल्क परीक्षण अवधि के दौरान, आपको एक निःशुल्क परीक्षण क्लाउड बिलिंग खाता प्रदान किया जाएगा। उस बिलिंग खाते का उपयोग करने वाला कोई भी Firebase प्रोजेक्ट निःशुल्क परीक्षण अवधि के दौरान ब्लेज़ मूल्य निर्धारण योजना पर होगा।
चिंता न करें, इस नि:शुल्क परीक्षण क्लाउड बिलिंग खाते को स्थापित करने से हम आपसे शुल्क नहीं ले सकते। जब तक आप अपने मुफ़्त परीक्षण क्लाउड बिलिंग खाते को सशुल्क खाते में अपग्रेड करके बिलिंग को स्पष्ट रूप से सक्षम नहीं करते, तब तक आपसे कोई शुल्क नहीं लिया जाता है। आप परीक्षण के दौरान किसी भी समय सशुल्क खाते में अपग्रेड कर सकते हैं। अपग्रेड करने के बाद भी, आप किसी भी शेष क्रेडिट (90-दिन की अवधि के भीतर) का उपयोग कर सकते हैं।
एक बार नि:शुल्क परीक्षण समाप्त होने के बाद, आपको या तो अपने प्रोजेक्ट को स्पार्क मूल्य निर्धारण योजना में डाउनग्रेड करना होगा या अपने फायरबेस प्रोजेक्ट का उपयोग जारी रखने के लिए फायरबेस कंसोल में ब्लेज़ मूल्य निर्धारण योजना सेट अप करनी होगी।
Google क्लाउड नि:शुल्क परीक्षण के बारे में अधिक जानें।
मुझे कैसे पता चलेगा कि कौन सी मूल्य निर्धारण योजना मेरे लिए सही है?
स्पार्क मूल्य निर्धारण योजना
हमारा स्पार्क प्लान आपके ऐप को बिना किसी कीमत के विकसित करने के लिए एक बेहतरीन जगह है। आपको सभी बिना लागत वाली Firebase सुविधाएं (Analytics, नोटिफ़िकेशन कंपोज़र, Crashlytics, वगैरह) और हमारी भुगतान की गई बुनियादी सुविधाओं की उदार राशि मिलती है। हालांकि, यदि आप किसी कैलेंडर माह में अपने स्पार्क योजना संसाधनों को पार कर जाते हैं, तो उस महीने के शेष भाग के लिए आपका ऐप बंद कर दिया जाएगा। इसके अलावा, स्पार्क योजना का उपयोग करते समय Google क्लाउड सुविधाएँ उपलब्ध नहीं होती हैं।
ब्लेज़ प्राइसिंग प्लान
हमारा ब्लेज़ प्लान प्रोडक्शन ऐप्स के लिए डिज़ाइन किया गया है। ब्लेज़ प्लान आपको सशुल्क Google क्लाउड सुविधाओं के साथ अपने ऐप का विस्तार करने की भी अनुमति देता है। आप केवल उन संसाधनों के लिए भुगतान करते हैं, जिनका आप उपभोग करते हैं, जिससे आप मांग के अनुसार पैमाने बना सकते हैं। हम अपने ब्लेज़ प्लान की कीमतों को उद्योग-अग्रणी क्लाउड प्रदाताओं के साथ प्रतिस्पर्धी बनाने का प्रयास करते हैं।
मैं अपने उपयोग और बिलिंग की निगरानी कैसे कर सकता हूं?
आप निम्न में से किसी भी डैशबोर्ड पर Firebase कंसोल में प्रोजेक्ट संसाधनों के अपने उपयोग को ट्रैक कर सकते हैं:
फ्लेम प्राइसिंग प्लान का क्या हुआ?
जनवरी 2020 में, फ्लेम प्राइसिंग प्लान (अतिरिक्त कोटा का $25/महीना) को नए साइन-अप के विकल्प के रूप में हटा दिया गया था। मौजूदा प्लान उपयोगकर्ताओं को फ्लेम प्लान से अपनी परियोजनाओं को माइग्रेट करने के लिए छूट की अवधि दी गई थी। फरवरी 2022 में, फ्लेम प्राइसिंग प्लान की शेष परियोजनाओं को स्पार्क प्राइसिंग प्लान में डाउनग्रेड कर दिया गया था।
इसलिए,
- मौजूदा स्पार्क और ब्लेज़ योजना परियोजनाएं और कोई भी नई परियोजना अब फ्लेम योजना के लिए स्विच या साइन अप नहीं कर सकती हैं।
- यदि आप एक मौजूदा फ्लेम प्लान प्रोजेक्ट को एक अलग मूल्य निर्धारण योजना में ले गए हैं, तो प्रोजेक्ट फ्लेम प्लान पर वापस नहीं आ सकता है।
- अतिरिक्त भुगतान सेवाओं को फिर से शुरू करने के लिए स्पार्क योजना में डाउनग्रेड की गई परियोजनाओं को ब्लेज़ योजना में अपग्रेड किया जा सकता है।
- फ्लेम प्लान के सन्दर्भ दस्तावेज़ीकरण से हटा दिए गए हैं।
क्या आपके पास फ्लेम प्लान सेवानिवृत्ति के बारे में अधिक प्रश्न हैं? नीचे कुछ अतिरिक्त अक्सर पूछे जाने वाले प्रश्न पढ़ें।
Firebase द्वारा पेश की जाने वाली अन्य मूल्य-निर्धारण योजनाओं के बारे में जानना चाहते हैं? हमारे फायरबेस मूल्य निर्धारण पृष्ठ पर जाएं ! अगर आप किसी मौजूदा प्रोजेक्ट को किसी अन्य मूल्य निर्धारण योजना में ले जाना शुरू करना चाहते हैं, तो आप अपने प्रोजेक्ट के लिए Firebase कंसोल में ऐसा कर सकते हैं।
फ्लेम प्लान सेवानिवृत्ति के बारे में अतिरिक्त अक्सर पूछे जाने वाले प्रश्न
मेरे पास एक परियोजना या एक प्रक्रिया या एक व्यवसाय मॉडल है जो एक निश्चित फायरबेस लागत पर निर्भर करता है। मुझे क्या करना चाहिए?
ब्लेज़ मूल्य निर्धारण योजना के लिए साइन अप करें, और बजट अलर्ट सेट करना सुनिश्चित करें।
क्या मुझे नए फ्लेम प्लान प्रोजेक्ट बनाने के लिए विशेष एक्सेस दिया जा सकता है?
नहीं, Firebase, फ्लेम प्लान पर स्विच करने या साइन-अप करने के लिए प्रोजेक्ट के लिए विशेष एक्सेस की पेशकश नहीं कर रहा है।
मैंने अपने फ्लेम प्लान प्रोजेक्ट को एक अलग मूल्य निर्धारण योजना में बदल दिया। मैं इसे वापस कैसे बदलूं?
फ्लेम प्लान पर स्विच करना अब संभव नहीं है। फ्लेम योजना द्वारा प्रदान की जाने वाली सेवाओं तक पहुंच के लिए, सुनिश्चित करें कि आप ब्लेज़ मूल्य निर्धारण योजना का उपयोग कर रहे हैं, और अपने प्रोजेक्ट के लिए बजट अलर्ट सेट करने पर विचार करें।
फ्लेम प्लान रिटायरमेंट के हिस्से के रूप में मेरी परियोजना को स्वचालित रूप से एक अलग मूल्य निर्धारण योजना में बदल दिया गया था। मुझे क्या करना चाहिए?
यदि आपकी परियोजना को स्पार्क योजना के साथ प्रदान किए गए अतिरिक्त कोटा की आवश्यकता है, तो आपको अपनी परियोजना को ब्लेज़ मूल्य निर्धारण योजना में अपग्रेड करना होगा।
फ्लेम प्लान को क्यों बंद किया जा रहा है?
इन वर्षों में, हमने फ्लेम योजना के उपयोग में गिरावट देखी है, और योजना का उपयोग करने वाली अधिकांश परियोजनाएं इसके पूर्ण मूल्य का उपभोग नहीं कर रही हैं। इस मूल्य निर्धारण योजना को बनाए रखना आम तौर पर किफ़ायती नहीं है, और हमें लगता है कि अगर संसाधनों को अन्य Firebase पहलों में लगाया जाता है तो हम सभी की बेहतर सेवा कर सकते हैं।
ब्लेज़ प्लान में नो-कॉस्ट यूसेज स्पार्क प्लान में नो-कॉस्ट यूसेज से कैसे अलग है?
ब्लेज़ प्लान पर नो-कॉस्ट यूसेज की गणना प्रतिदिन की जाती है। क्लाउड फ़ंक्शंस, फ़ोन प्रमाणीकरण और परीक्षण लैब के लिए उपयोग की सीमाएँ स्पार्क योजना से भी भिन्न होती हैं।
क्लाउड फ़ंक्शंस के लिए, ब्लेज़ प्लान पर बिना लागत के उपयोग की गणना क्लाउड बिलिंग खाता स्तर पर की जाती है, न कि प्रोजेक्ट स्तर पर और इसकी निम्नलिखित सीमाएँ होती हैं:
- 2M आमंत्रण/माह
- 400K GB-सेकंड/माह
- 200K CPU-सेकंड/माह
- 5 जीबी नेटवर्किंग इग्रेशन/माह
फ़ोन प्रमाणीकरण के लिए, ब्लेज़ योजना पर बिना लागत के उपयोग की गणना मासिक रूप से की जाती है।
टेस्ट लैब के लिए, ब्लेज़ प्लान पर बिना लागत के उपयोग की निम्नलिखित सीमाएँ हैं:
- 30 भौतिक उपकरण मिनट/दिन
- 60 वर्चुअल डिवाइस मिनट/दिन
जब मैं स्पार्क से ब्लेज़ प्लान में बदलता हूं तो क्या नो-कॉस्ट यूसेज कोटा रीसेट हो जाता है?
ब्लेज़ प्लान में स्पार्क प्लान का नो-कॉस्ट यूसेज शामिल है। ब्लेज़ प्लान में जाने पर नो-कॉस्ट यूसेज रीसेट नहीं होता है।
"एक साथ डेटाबेस कनेक्शन" क्या है?
एक साथ कनेक्शन एक मोबाइल डिवाइस, ब्राउज़र टैब या डेटाबेस से जुड़े सर्वर ऐप के बराबर है। Firebase आपके ऐप के डेटाबेस में एक साथ कनेक्शन की संख्या पर कठोर सीमाएं लगाता है। ये सीमाएं Firebase और हमारे उपयोगकर्ताओं दोनों को दुरुपयोग से बचाने के लिए हैं।
स्पार्क योजना की सीमा 100 है और इसे बढ़ाया नहीं जा सकता। फ्लेम और ब्लेज़ योजनाओं में प्रति डेटाबेस 200,000 एक साथ कनेक्शन की सीमा है।
यह सीमा आपके ऐप के उपयोगकर्ताओं की कुल संख्या के समान नहीं है, क्योंकि आपके सभी उपयोगकर्ता एक साथ कनेक्ट नहीं होते हैं। यदि आपको एक साथ 200,000 से अधिक कनेक्शन की आवश्यकता है, तो कृपया एकाधिक डेटाबेस के साथ स्केल पढ़ें।
यदि मैं स्पार्क प्लान स्टोरेज या रीयलटाइम डेटाबेस के लिए डाउनलोड सीमा पार कर जाता हूं तो क्या होगा?
आपको एक अनुमानित मूल्य प्रदान करने के लिए, स्पार्क योजनाओं में आपके लिए उपलब्ध संसाधन सीमित हैं। इसका मतलब यह है कि जब आप किसी भी महीने में किसी भी योजना की सीमा से अधिक हो जाते हैं, तो किसी भी संसाधन के उपयोग और अतिरिक्त शुल्क को रोकने के लिए आपका ऐप बंद कर दिया जाएगा।
यदि मैं रीयलटाइम डेटाबेस के लिए एक साथ स्पार्क योजना की कनेक्शन सीमा को पार कर जाता हूं तो क्या होगा?
जब आपका ऐप स्पार्क योजना पर अपनी समवर्ती सीमा तक पहुँच जाता है, तो बाद के किसी भी कनेक्शन को तब तक अस्वीकार कर दिया जाएगा जब तक कि कुछ मौजूदा कनेक्शन बंद नहीं हो जाते। ऐप कनेक्टेड उपयोगकर्ताओं के लिए काम करना जारी रखेगा।
अगर मैं क्लाउड स्टोरेज के लिए स्पार्क प्लान अपलोड, डाउनलोड या स्टोरेज की सीमा को पार कर जाता हूं तो क्या होगा?
जब आप स्पार्क योजना पर किसी प्रोजेक्ट में क्लाउड स्टोरेज की सीमा पार कर जाते हैं, तो परिणाम उस सीमा के प्रकार पर निर्भर करता है जिसे आप पार करते हैं:
- यदि आप GB संग्रहीत सीमा को पार कर जाते हैं, तो आप उस प्रोजेक्ट में कोई और डेटा तब तक संग्रहीत नहीं कर पाएंगे जब तक कि आप संग्रहीत डेटा में से कुछ को हटा नहीं देते हैं या किसी ऐसी योजना में अपग्रेड नहीं करते हैं जो अधिक संग्रहण स्थान, या असीमित संग्रहण स्थान प्रदान करती है।
- यदि आप GB डाउनलोड की सीमा को पार कर जाते हैं, तो आपका ऐप अगले दिन (मध्यरात्रि, यूएस पैसिफिक टाइम से शुरू) तक अधिक डेटा डाउनलोड नहीं कर पाएगा, जब तक कि आप कम प्रतिबंधात्मक सीमा वाले प्लान में अपग्रेड नहीं करते, या बिना किसी सीमा के।
- यदि आप अपलोड या डाउनलोड संचालन सीमा को पार कर जाते हैं, तो आपका ऐप अगले दिन (मध्यरात्रि, यूएस पैसिफिक टाइम से शुरू) तक अधिक डेटा अपलोड या डाउनलोड नहीं कर पाएगा, जब तक कि आप कम प्रतिबंधात्मक सीमा वाले प्लान में अपग्रेड नहीं करते हैं, या नहीं सीमा।
Google क्लाउड के साथ Firebase का एकीकरण कैसे कार्य करता है?
Firebase को Google क्लाउड के साथ गहराई से एकीकृत किया गया है। प्रोजेक्ट Firebase और Google Cloud के बीच साझा किए जाते हैं, इसलिए प्रोजेक्ट में Firebase सेवाएं और Google क्लाउड सेवाएं सक्षम हो सकती हैं। आप उसी प्रोजेक्ट को Firebase कंसोल या Google क्लाउड कंसोल से एक्सेस कर सकते हैं। विशेष रूप से:
- कुछ Firebase उत्पादों को सीधे Google क्लाउड द्वारा समर्थित किया जाता है, जैसे Firebase के लिए Cloud Storage। Google क्लाउड द्वारा समर्थित उत्पादों की सूची समय के साथ बढ़ती रहेगी।
- सहयोगकर्ताओं और बिलिंग जानकारी सहित आपकी कई सेटिंग, Firebase और Google Cloud द्वारा साझा की जाती हैं। आपके द्वारा Firebase और Google Cloud दोनों का उपयोग एक ही बिल पर दिखाई देता है।
इसके अलावा, जब आप ब्लेज़ योजना में अपग्रेड करते हैं, तो आप Google क्लाउड के किसी भी विश्व-स्तरीय इंफ्रास्ट्रक्चर-ए-ए-सर्विस और एपीआई का सीधे अपने फायरबेस प्रोजेक्ट के अंदर मानक Google क्लाउड मूल्य निर्धारण पर उपयोग कर सकते हैं। आप विश्लेषण के लिए Google क्लाउड से सीधे BigQuery में डेटा निर्यात भी कर सकते हैं। अधिक जानने के लिए, BigQuery को Firebase से लिंक करें देखें।
फायरबेस के साथ Google क्लाउड का उपयोग करने के कई सुरक्षा-बढ़ाने, विलंबता-सुधार, और समय बचाने वाले लाभ हैं (बनाम अन्य, क्लाउड सेवाएं जो सह-स्थित नहीं हैं)। अधिक विवरण के लिए Google क्लाउड साइट देखें।
अगर मैं Google क्लाउड कंसोल में उस प्रोजेक्ट के लिए बिलिंग खाते जोड़ता या हटाता हूं, तो मेरे Firebase प्रोजेक्ट का क्या होगा?
यदि Google क्लाउड कंसोल में किसी प्रोजेक्ट में क्लाउड बिलिंग खाता जोड़ा जाता है, तो वही प्रोजेक्ट स्वतः ही फायरबेस ब्लेज़ योजना में अपग्रेड हो जाएगा यदि वह प्रोजेक्ट वर्तमान में स्पार्क योजना पर है।
इसके विपरीत, यदि किसी मौजूदा सक्रिय क्लाउड बिलिंग खाते को Google क्लाउड कंसोल में किसी प्रोजेक्ट से हटा दिया जाता है, तो उस प्रोजेक्ट को Firebase Spark योजना में डाउनग्रेड कर दिया जाएगा।
क्या मैं किसी भी समय अपग्रेड, डाउनग्रेड या रद्द कर सकता हूं?
हां, आप किसी भी समय अपग्रेड, डाउनग्रेड या रद्द कर सकते हैं। ध्यान दें कि हम डाउनग्रेड या रद्द करने के लिए यथानुपात धन-वापसी प्रदान नहीं करते हैं। इसका अर्थ यह है कि यदि आप अपनी बिलिंग अवधि समाप्त होने से पहले डाउनग्रेड या रद्द करते हैं, तब भी आप शेष माह के लिए भुगतान करते हैं।
मुझे किस प्रकार का समर्थन प्राप्त होगा?
सभी Firebase ऐप्स, जिनमें बिना लागत वाली योजनाओं का उपयोग करने वाले भी शामिल हैं, US Pacific व्यावसायिक घंटों के दौरान Firebase कर्मचारियों के ईमेल समर्थन के साथ आते हैं। सभी खातों में बिलिंग से संबंधित मुद्दों, खाते से संबंधित मुद्दों, तकनीकी (समस्या निवारण) प्रश्नों और घटना रिपोर्ट के लिए असीमित समर्थन है।
क्या मैं ब्लेज़ प्लान के उपयोग को सीमित कर सकता हूँ?
नहीं, आप वर्तमान में अपने ब्लेज़ प्लान के उपयोग को सीमित नहीं कर सकते। हम ब्लेज़ प्लान के उपयोग पर कैप का समर्थन करने के विकल्पों का मूल्यांकन कर रहे हैं।
ब्लेज़ उपयोगकर्ता अपने प्रोजेक्ट या खाते के लिए एक बजट परिभाषित कर सकते हैं, और अलर्ट प्राप्त कर सकते हैं क्योंकि उनका खर्च उन सीमाओं तक पहुंचता है। बजट अलर्ट सेट करने का तरीका जानें.
स्वचालित बैकअप क्या हैं? क्या आप प्रति घंटा बैकअप प्रदान करते हैं?
स्वचालित बैकअप हमारे ब्लेज़ मूल्य निर्धारण योजना पर ग्राहकों के लिए एक उन्नत सुविधा है जो दिन में एक बार आपके फायरबेस रीयलटाइम डेटाबेस डेटा का बैक अप लेता है और इसे Google क्लाउड स्टोरेज पर अपलोड करता है।
हम प्रति घंटा बैकअप प्रदान नहीं करते हैं।
क्या आप ओपन-सोर्स, गैर-लाभकारी या शैक्षिक छूट प्रदान करते हैं?
हमारी स्पार्क योजना का उपयोग किसी भी प्रकार के व्यक्ति या संगठन द्वारा किया जा सकता है, जिसमें गैर-लाभकारी संस्थाएं, स्कूल और ओपन-सोर्स प्रोजेक्ट शामिल हैं। चूंकि इन योजनाओं में पहले से ही उदार कोटा शामिल हैं, इसलिए हम ओपन-सोर्स, गैर-लाभकारी या शैक्षिक परियोजनाओं के लिए कोई विशेष छूट या योजना प्रदान नहीं करते हैं।
क्या आप उद्यम अनुबंध, मूल्य निर्धारण, समर्थन, या समर्पित आधारभूत संरचना होस्टिंग प्रदान करते हैं?
हमारी ब्लेज़ योजना सभी आकारों के उद्यमों के लिए उपयुक्त है, और हमारा एसएलए क्लाउड इंफ्रास्ट्रक्चर के लिए उद्योग मानक को पूरा करता है या उससे अधिक है। हालांकि, हम वर्तमान में एंटरप्राइज़ अनुबंध, मूल्य निर्धारण या समर्थन की पेशकश नहीं करते हैं, और न ही हम अपने रीयलटाइम डेटाबेस जैसी सेवाओं के लिए समर्पित आधारभूत संरचना होस्टिंग (अर्थात, ऑन-प्रिमाइसेस इंस्टॉलेशन) प्रदान करते हैं। हम इनमें से कुछ सुविधाओं को जोड़ने के लिए कड़ी मेहनत कर रहे हैं।
क्या आप तदर्थ मूल्य निर्धारण की पेशकश करते हैं? मैं केवल एक या दो सुविधाओं के लिए पे-एज़-यू-गो चाहता हूं।
हम ब्लेज़ योजना में तदर्थ मूल्य निर्धारण की पेशकश करते हैं, जहां आप केवल अपने द्वारा उपयोग की जाने वाली सुविधाओं के लिए भुगतान करते हैं।
सशुल्क Firebase योजनाएँ विज्ञापनों के साथ कैसे काम करती हैं? क्या सशुल्क योजनाओं के साथ कोई लागत-रहित विज्ञापन क्रेडिट नहीं हैं?
फायरबेस मूल्य निर्धारण योजनाएं विज्ञापनों से अलग हैं, इसलिए बिना लागत के कोई विज्ञापन क्रेडिट नहीं है। एक Firebase डेवलपर के रूप में, आप रूपांतरण ट्रैकिंग का समर्थन करने के लिए अपने विज्ञापन खाते को Firebase से "लिंक" कर सकते हैं।
सभी विज्ञापन अभियान सीधे विज्ञापनों में प्रबंधित किए जाते हैं, और विज्ञापन बिलिंग को विज्ञापन कंसोल से प्रबंधित किया जाता है।
क्लाउड फ़ंक्शंस मूल्य निर्धारण
Firebase के लिए Cloud Functions का उपयोग करने के लिए मुझे बिलिंग खाते की आवश्यकता क्यों है?
फायरबेस के लिए क्लाउड फ़ंक्शंस कुछ भुगतान की गई Google सेवाओं पर निर्भर करता है: क्लाउड बिल्ड , कंटेनर रजिस्ट्री और क्लाउड स्टोरेज । इन सेवाओं के उपयोग का बिल मौजूदा मूल्य निर्धारण के अतिरिक्त लिया जाएगा।
आपसे केवल किसी फ़ंक्शन के रनटाइम कंटेनर को बनाने के लिए आवश्यक कंप्यूटिंग समय के लिए बिल किया जाएगा।
क्लाउड स्टोरेज, कंटेनर रजिस्ट्री के साथ इंटरऑपरेट करते हुए, उन कंटेनरों के लिए स्टोरेज स्पेस प्रदान करेगा जिनमें फ़ंक्शन चलते हैं। किसी फ़ंक्शन को परिनियोजित करने के लिए आवश्यक प्रत्येक कंटेनर के लिए आपसे बिल लिया जाएगा. आप संग्रहीत प्रत्येक कंटेनर के लिए छोटे शुल्क देख सकते हैं- उदाहरण के लिए, 1GB संग्रहण का बिल $0.026 प्रति माह है।
आपका बिल कैसे बदल सकता है, इसके बारे में अधिक जानने के लिए, कृपया निम्नलिखित की समीक्षा करें
- क्लाउड फ़ंक्शंस मूल्य निर्धारण : मौजूदा नो-कॉस्ट टियर अपरिवर्तित है।
- क्लाउड बिल्ड मूल्य निर्धारण: क्लाउड बिल्ड बिना किसी लागत के स्तर प्रदान करता है।
- कंटेनर रजिस्ट्री मूल्य निर्धारण ।
क्या फायरबेस के लिए क्लाउड फ़ंक्शंस का अभी भी बिना किसी लागत के उपयोग है?
हां। ब्लेज़ प्लान पर, क्लाउड फ़ंक्शंस आमंत्रण, गणना समय और इंटरनेट ट्रैफ़िक के लिए एक नो-कॉस्ट टियर प्रदान करता है। पहले 2,00,000 आह्वान, 400,000 जीबी-सेकंड, 200,000 सीपीयू-सेकेंड, और 5 जीबी इंटरनेट निष्कासन यातायात हर महीने बिना किसी शुल्क के प्रदान किया जाता है। आपसे केवल उन थ्रेशोल्ड से ऊपर के उपयोग के लिए शुल्क लिया जाएगा।
प्रत्येक परिनियोजन ऑपरेशन में फ़ंक्शन के कंटेनर के लिए उपयोग किए जाने वाले संग्रहण स्थान के लिए छोटे-छोटे शुल्क लगेंगे। उदाहरण के लिए, यदि आपके फ़ंक्शन कंटेनर रजिस्ट्री के माध्यम से 1GB संग्रहण की खपत करते हैं, तो आपको प्रति माह $0.026 का बिल दिया जाएगा। यदि आपकी विकास प्रक्रिया परीक्षण के लिए कार्यों को परिनियोजित करने पर निर्भर करती है, तो आप विकास के दौरान फायरबेस स्थानीय एमुलेटर सूट का उपयोग करके लागत को और कम कर सकते हैं।
फायरबेस प्राइसिंग प्लान और क्लाउड फंक्शन प्राइसिंग उदाहरण परिदृश्य देखें।
क्या Firebase, Firebase के लिए क्लाउड फ़ंक्शंस के लिए कोटा और सीमाएं बढ़ाने की योजना बना रहा है?
नहीं। अधिकतम निर्माण समय सीमा को हटाने के अलावा कोटा बदलने की कोई योजना नहीं है; 120 मिनट का दैनिक बिल्ड कोटा पूरा होने पर त्रुटियों या चेतावनियों को प्राप्त करने के बजाय, आपको ब्लेज़ मूल्य निर्धारण योजना की शर्तों के तहत बिल भेजा जाएगा। कोटा और सीमाएं देखें।
क्या मुझे Google क्लाउड $300 क्रेडिट मिल सकता है?
हां, आप $300 क्रेडिट प्राप्त करने के लिए Google क्लाउड कंसोल में क्लाउड बिलिंग खाता बना सकते हैं, फिर उस क्लाउड बिलिंग खाते को किसी Firebase प्रोजेक्ट से लिंक कर सकते हैं।
More about the Google Cloud credit here .
Note that if you do this, you have to then set up the Blaze pricing plan in the Firebase console in order for your project to continue working after the $300 credit is exhausted.
I want to follow a codelab to learn about Firebase. Can you give me a temporary billing account?
No, sorry. You can use the Firebase emulator for development without having a Cloud Billing account. Alternatively, try applying for a Google Cloud free trial . If you're still having trouble paying your bill because of this change, contact Firebase Support.
I'm worried I'm going to rack up a huge bill.
You can set up budget alerts in the Google Cloud Console to help control costs. Also, you can set limits on the number of billed instances created for each of your functions. To get an idea of costing for typical scenarios, see the Cloud Functions Pricing examples.
How can I check my current billing charges?
View the Usage and billing dashboard in the Firebase console.
I use Firebase Extensions. Will I be affected by this change?
Yes. Since extensions use Cloud Functions , extensions that use Node.js 10 or later will be subject to the same charges as other functions.
To use extensions based on Node.js 10 or later, you will need to upgrade to the Blaze pricing plan. You will be charged a small amount (typically around $0.01 per month ) for the Firebase resources required by each extension you install (even if they are not used), in addition to any charges associated with your use of Firebase services.
Privacy
Where can I find information about privacy and security in Firebase?
Check out the page Privacy and Security in Firebase .
Do the Firebase SDKs log any usage/diagnostic information outside of Analytics?
Yes. This is currently iOS-only, but may change in the future. The Firebase Apple platforms SDK includes the FirebaseCoreDiagnostics
framework by default. This framework is used by Firebase to collect SDK usage and diagnostics information to help prioritize future product enhancements. FirebaseCoreDiagnostics
is optional, so if you would like to opt out of sending Firebase diagnostic logs, you can do so by unlinking the library from your application. You can browse the full source, including logged values, on GitHub
A/B Testing
A/B Testing: How many experiments can I create and run?
You are allowed up to 300 experiments per project, which could consist of up to 24 running experiments, with the rest as draft or completed.
AdMob
AdMob: Can I link my Windows apps to Firebase?
No, Windows apps are not currently supported.
AdMob: Why can't I link my app to AdMob from the Firebase console?
You can link an AdMob app to a Firebase app via the AdMob console. Learn how.
AdMob: What permissions or access do I need to link a Firebase app to an AdMob app?
In order to do this linking, you need the following access:
- AdMob : You need to be an AdMob admin.
- Firebase : You must have the
firebase.links.create
permission, which is included in the Owner role and the Firebase Admin role . - Google Analytics : You must have the Edit role or Manage Users role for the property associated with the Firebase project. Learn more.
AdMob: Can multiple users in the same AdMob account link AdMob apps and Firebase apps?
For multi-user AdMob accounts , the user who created the first Firebase link and accepted the Firebase Terms of Service is the only user who can create new links between AdMob apps and Firebase apps.
AdMob: To use AdMob, should I use the Firebase SDK for AdMob or the Google Mobile Ads SDK?
- For iOS projects , use the Google Mobile Ads SDK:
pod 'Google-Mobile-Ads-SDK'
- For Android projects , use the Google Mobile Ads SDK:
implementation 'com.google.android.gms:play-services-ads:21.0.0'
Note that the Firebase Android SDKs for AdMob transitively include the Firebase SDK for Google Analytics. So, if your app calls any Google Analytics APIs and you switch to using the Google Mobile Ads SDK, make sure that you explicitly add the dependency for the Firebase SDK for Google Analytics (
) to your app'scom.google.firebase:firebase-analytics build.gradle
file. - For C++ projects and Unity projects , follow the instructions in the respective documentation.
Analytics
Analytics: When must I upgrade my Google Analytics for Firebase property to retain service?
Any Firebase project created before July 31, 2019 must be upgraded to the full Google Analytics 4 experience if it hasn't already. (Banners display in the Analytics dashboard if an upgrade is required.) The associated Terms of Service must be accepted by February 15, 2022 to ensure data collection continues and by March 15, 2022 to prevent the deletion of the Analytics property and its data. If you no longer want to use Google Analytics and the associated data, no action is required and the property will be deleted on March 15, 2022.
Failure to accept the new Google Analytics Terms of Service will disrupt Firebase features, including: Crash-Free Users (Crashlytics), targeted Configurations and Remote Config personalization, A/B Testing features, Targeting and Campaign Metrics (Cloud Messaging). It will also disrupt Google Analytics for Firebase Integrations , including: Exporting project data to BigQuery , Google Ads Integrations , and AdMob Integrations .
If you have questions about accessing your Firebase project, including finding or assigning an Owner, review the Permissions and access to Firebase projects FAQs .
Analytics: What changed in the Google Analytics section with the October 2021 update?"
You can find a summary of these changes in the Firebase Help Center article New Google Analytics 4 functionality in Google Analytics for Firebase .
Analytics: Why is Google Analytics a recommended part of using Firebase products?
Google Analytics is a free and unlimited analytics solution that works with Firebase features to deliver powerful insights. It enables you to view event logs in Crashlytics, notification effectiveness in FCM, deep link performance for Dynamic Links, and in-app purchase data from Google Play. It powers advanced audience targeting in Remote Config, Remote Config personalization, and more.
Google Analytics acts as a layer of intelligence in the Firebase console to provide you with more actionable insights about how to develop a high quality app, grow your user base, and earn more money.
To get started, read the documentation .
Analytics: How do I segment users who have have not met some criterion?
You can reframe the problem by "negatively targeting" these users. For example, reframe the problem as "Don't show ads to people who have bought something", and form an audience of those users to target.
Analytics: How do I control how my Analytics data is shared with rest of Firebase?
By default, your Google Analytics data is used to enhance other Firebase and Google features. You can control how your Google Analytics data is shared in your project settings anytime. Learn more about Data sharing settings .
Analytics: What is the new fully upgraded Google Analytics account?
You can read more about the new Google Analytics upgrade in our blog post .
Analytics: How do I know if I'm using Google Analytics for Firebase or a fully upgraded Google Analytics account?
If you see a link to "View your data in Google Analytics" from the analytics dashboard in the Firebase console, then your project is using a fully upgraded Google Analytics account.
You can also check by viewing the Google Analytics card in the Firebase console (you can access this from settings > Project Settings > Integrations , then click Manage ). If you see a Linked Google Analytics account listed in the Your Google Analytics property section, your project is using the full Google Analytics experience in Firebase. If you do not see a Linked Google Analytics account , your project is using Google Analytics for Firebase.
Analytics: What will happen to my data when I upgrade to the new Google Analytics for Firebase?
This will not affect your existing Firebase project analytics data in the Firebase console.
You will be able to continue using the same dashboard and workflows you are using today, and you will also have access to some advanced features in Google Analytics.
Note that if you decide to enable cross-device reporting after making the upgrade, your data will be de-duplicated using the UserID. This may decrease some user counts in the Firebase console.
Analytics: What is Firebase User Segmentation Storage?
Firebase User Segmentation Storage stores audience lists you've created to provide targeting information to other Firebase services that use them, such as Crashlytics, FCM, Remote Config personalization, and more.
Analytics: Why don't I see any data after unlinking my app from Google Analytics?
Your analytics data resides within the Google Analytics property - not within the Firebase project. If you delete or unlink the property, then your data is unlinked from your project as well. The data still resides in that property, however, and you can always relink it to your project.
Creating a new Google Analytics account (and new property) will result in having a blank analytics dashboard in the Firebase console.
Analytics: Why do I get an error when trying to upgrade my project to the new Google Analytics experience?
If you are experiencing and error when upgrading, such as:
The operation has failed (Reason: Requested entity already exists)
or
The operation has failed (Reason: Precondition check failed)
This means that there is an association between your project and an already existing Google Analytics property. You can unlink the property, delete it, or upgrade through the Google Analytics interface.
If this is still an issue, you can use the REST API to unlink by using the removeAnalytics
method , then use the addGoogleAnalytics
method to link a new property.
You can then move the data from one property to another .
Analytics: Will audiences and/or events defined in Google Analytics be available on the Firebase console?
Your audiences and user properties will be synced. For some features, you'll need to use the Google Analytics interface, such as segmentation and closed funnels. You can access the Google Analytics interface directly via deep-links from the Firebase console. Any changes you make from the Firebase console can also be performed in Google Analytics, and those changes will be reflected in Firebase.
Analytics in my iOS app: Can I install Analytics without ad attribution and IDFA collection features?
Yes. See the Configure Data Collection and Usage page for more details.
App Indexing
App Indexing: Can Google Search index multiple languages for a single app?
Google Search supports the following multi-language cases:
- The associated website has unique URLs for each language, and there is one corresponding app HTTP URL for each web URL.
- The associated website has unique URLs for each language, but there is only one app HTTP URL. The app uses system language settings to display the correct language content.
- The associated website has one URL for all languages (or it supports only one language), and there is one corresponding app URL. The website and the application must display the content in the same language when the user has set no preference.
App Indexing: Can App Indexing support multiple websites for an app?
Yes. Make sure that each associated website is verified for the Android app via the Google Play Console . Learn how to verify your app .
App Indexing: Do sitemaps need to be added via the Search Console?
iOS does not require sitemaps, and Android does not require them as long as your app supports HTTP URLs. For custom URLs, you do not need to add sitemaps via Search Console. You can reference sitemaps in your robots.txt
file and Google Search will use them. Learn more about managing sitemaps . However, submitting a sitemap through Search Console lets you see statistics on submitted and indexed HTTP URLs in Search Console.
Authentication
Firebase Authentication: Which countries are supported for phone authentication?
Firebase Authentication supports phone number verification across the the world, but not all networks reliably deliver our verification messages. The following countries have good rates of delivery, and should be expected to work well for phone number sign in.
Country | Code |
---|---|
AD | Andorra |
AE | United Arab Emirates |
AF | Afghanistan |
AG | Antigua and Barbuda |
AL | Albania |
AM | Armenia |
AO | Angola |
AR | Argentina |
AS | American Samoa |
AT | Austria |
AU | Australia |
AW | Aruba |
AZ | Azerbaijan |
BA | Bosnia and Herzegovina |
BB | Barbados |
BD | Bangladesh |
BE | Belgium |
BF | Burkina Faso |
BG | Bulgaria |
BJ | Benin |
BM | Bermuda |
BN | Brunei Darussalam |
BO | Bolivia |
BR | Brazil |
BS | Bahamas |
BT | Bhutan |
BW | Botswana |
BY | Belarus |
BZ | Belize |
CA | Canada |
CD | Congo, (Kinshasa) |
CF | Central African Republic |
CG | Congo (Brazzaville) |
CH | Switzerland |
CI | Côte d'Ivoire |
CK | Cook Islands |
CL | Chile |
CM | Cameroon |
CO | Colombia |
CR | Costa Rica |
CV | Cape Verde |
CW | Curaçao |
CY | Cyprus |
CZ | Czech Republic |
DE | Germany |
DJ | Djibouti |
DK | Denmark |
DM | Dominica |
DO | Dominican Republic |
DZ | Algeria |
EC | Ecuador |
EG | Egypt |
ES | Spain |
ET | Ethiopia |
FI | Finland |
FJ | Fiji |
FK | Falkland Islands (Malvinas) |
FM | Micronesia, Federated States of |
FO | Faroe Islands |
FR | France |
GA | Gabon |
GB | United Kingdom |
GD | Grenada |
GE | Georgia |
GF | French Guiana |
GG | Guernsey |
GH | Ghana |
GI | Gibraltar |
GL | Greenland |
GM | Gambia |
GP | Guadeloupe |
GQ | Equatorial Guinea |
GR | Greece |
GT | Guatemala |
GY | Guyana |
HK | Hong Kong, SAR China |
HN | Honduras |
HR | Croatia |
HT | Haiti |
HU | Hungary |
ID | Indonesia |
IE | Ireland |
IL | Israel |
IM | Isle of Man |
IN | India |
IQ | Iraq |
IT | Italy |
JE | Jersey |
JM | Jamaica |
JO | Jordan |
JP | Japan |
KE | Kenya |
KG | Kyrgyzstan |
KH | Cambodia |
KM | Comoros |
KN | Saint Kitts and Nevis |
KR | Korea (South) |
KW | Kuwait |
KY | Cayman Islands |
KZ | Kazakhstan |
LA | Lao PDR |
LB | Lebanon |
LC | Saint Lucia |
LI | Liechtenstein |
LK | Sri Lanka |
LS | Lesotho |
LT | Lithuania |
LU | Luxembourg |
LV | Latvia |
LY | Libya |
MA | Morocco |
MD | Moldova |
ME | Montenegro |
MF | Saint-Martin (French part) |
MG | Madagascar |
MK | Macedonia, Republic of |
MM | Myanmar |
MN | Mongolia |
MO | Macao, SAR China |
MS | Montserrat |
MT | Malta |
MU | Mauritius |
MW | Malawi |
MX | Mexico |
MY | Malaysia |
MZ | Mozambique |
NA | Namibia |
NC | New Caledonia |
NE | Niger |
NF | Norfolk Island |
NG | Nigeria |
NI | Nicaragua |
NL | Netherlands |
NO | Norway |
NP | Nepal |
NZ | New Zealand |
OM | Oman |
PA | Panama |
PE | Peru |
PG | Papua New Guinea |
PH | Philippines |
PK | Pakistan |
PL | Poland |
PM | Saint Pierre and Miquelon |
PR | Puerto Rico |
PS | Palestinian Territory |
PT | Portugal |
PY | Paraguay |
QA | Qatar |
RE | Réunion |
RO | Romania |
RS | Serbia |
RU | Russian Federation |
RW | Rwanda |
SA | Saudi Arabia |
SC | Seychelles |
SE | Sweden |
SG | Singapore |
SH | Saint Helena |
SI | Slovenia |
SK | Slovakia |
SL | Sierra Leone |
SN | Senegal |
SR | Suriname |
ST | Sao Tome and Principe |
SV | El Salvador |
SZ | Swaziland |
TC | Turks and Caicos Islands |
TG | Togo |
TH | Thailand |
TL | Timor-Leste |
TM | Turkmenistan |
TO | Tonga |
TR | Turkey |
TT | Trinidad and Tobago |
TW | Taiwan, Republic of China |
TZ | Tanzania, United Republic of |
UA | Ukraine |
UG | Uganda |
US | United States of America |
UY | Uruguay |
UZ | Uzbekistan |
VC | Saint Vincent and Grenadines |
VE | Venezuela (Bolivarian Republic) |
VG | British Virgin Islands |
VI | Virgin Islands, US |
VN | Viet Nam |
WS | Samoa |
YE | Yemen |
YT | Mayotte |
ZA | South Africa |
ZM | Zambia |
ZW | Zimbabwe |
Cloud Functions
Cloud Functions runtime support
Why is the Node.js 8 runtime deprecated?
On Dec 31, 2019, Node.js 8 was marked end-of-life by the Node.js Foundation . At that time, the Node.js Foundation stopped issuing security releases for Node.js 8. Because of this, we recommend that you update to Node.js 10 or later as soon as you can.
What happens if a Node.js 8 function is left running after the removal of Node.js 8 support? Will it work indefinitely?
No it will not. Deployment of functions to the Node.js 8 runtime was disabled in the Firebase CLI on December 15, 2020. Execution of already-deployed functions will stop at some point in the future; if you have deployed functions to the Node.js 8 runtime, we recommend that you upgrade to the Node.js 12 runtime .
How do I upgrade to Node.js 12?
- Make sure you're on the Blaze pricing plan .
- Make sure you are using Firebase CLI v8.1.0 or later.
- Change the
engines
field in your functions'package.json
. - Optionally, test your changes using the Firebase Local Emulator Suite .
- Redeploy functions using the Firebase CLI v8.1.0 or later.
How can I make sure I deployed my functions to the Node.js 12 runtime?
In the Firebase console, go to the functions dashboard and check the runtime column.
I use Firebase Extensions. Will I be affected by this change?
Yes. Since extensions use Cloud Functions , the runtime of your extensions will need to be updated on the same timeline as Cloud Functions.
We recommend that you upgrade your Firebase project to the Blaze pricing plan and update to the latest version of each extension installed in your project. You can upgrade your projects' extensions via the Firebase console or Firebase CLI .
Cloud Messaging
Cloud Messaging: What's the difference between the Notifications composer and Cloud Messaging?
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Capabilities | Notifications composer | Cloud Messaging | |
---|---|---|---|
Target | Single device | ||
Clients subscribed to topics (ie weather) | |||
Clients in predefined user segment (app, version, language) | |||
Clients in specified analytics audiences | |||
Clients in device groups | |||
Upstream from client to server | |||
Message Type | Notifications up to 2kb | ||
Data messages up to 4kb | |||
Delivery | Immediate | ||
Future client device local time | |||
Analytics | Built-in Notifications analytics collection and funnel analytics |
Cloud Messaging: Apple announced they're decprecating the legacy binary protocol for APNs. Do I need to do anything?
No. Firebase Cloud Messaging switched to the HTTP/2-based APNs protocol in 2017. If you are using FCM to send notifications to iOS devices, there should be no action required on your part.
Cloud Messaging: Do I need to use other Firebase services in order to use FCM?
You can use Firebase Cloud Messaging as a standalone component, in the same manner as you did with GCM, without using other Firebase services.
Cloud Messaging: I am an existing Google Cloud Messaging (GCM) developer. Should I move to Firebase Cloud Messaging?
FCM is the new version of GCM under the Firebase brand. It inherits GCM's core infrastructure, with new SDKs to make Cloud Messaging development easier.
Benefits of upgrading to FCM SDK include:
- Simpler client development. You no longer have to write your own registration or subscription retry logic.
- An out-of-the-box notification solution. You can use the Notifications composer, a serverless notifications solution with a web console that lets anyone send notifications to target specific audiences based on insights from Google Analytics for Firebase.
To upgrade from GCM SDKs to FCM SDKs, see the guides for migrating Android and iOS apps.
Cloud Messaging: Why do my targeted devices apparently fail to receive messages?
When it looks like devices haven't successfully received messages, check first for these two potential causes:
Foreground message handling for notification messages . Client apps need to add message handling logic to handle notification messages when the app is in the foreground on the device. See the details for iOS and Android .
Network firewall restrictions . If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with FCM in order for your Firebase Cloud Messaging client apps to receive messages. The ports to open are:
- 5228
- 5229
- 5230
FCM usually uses 5228, but it sometimes uses 5229 and 5230. FCM does not provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169 .
Cloud Messaging: I have implemented onMessageReceived
in my Android app, but it is not being called.
When your app is in the background, notification messages are displayed in the system tray, and onMessageReceived
is not called. For notification messages with a data payload, the notification message is displayed in the system tray, and the data that was included with the notification message can be retrieved from the intent launched when the user taps on the notification.
For more information, see Receive and handle messages .
Notifications composer: What's the difference between the Notifications composer and Cloud Messaging?
The Notifications composer is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, the Notifications composer lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
Here's a comparison of the messaging capabilities provided by Firebase Cloud Messaging and the Notifications composer:
Capabilities | Notifications composer | Cloud Messaging | |
---|---|---|---|
Target | Single device | ||
Clients subscribed to topics (ie weather) | |||
Clients in predefined user segment (app, version, language) | |||
Clients in specified analytics audiences | |||
Clients in device groups | |||
Upstream from client to server | |||
Message Type | Notifications up to 2kb | ||
Data messages up to 4kb | |||
Delivery | Immediate | ||
Future client device local time | |||
Analytics | Built-in Notifications analytics collection and funnel analytics |
Notifications composer: I am an existing Google Cloud Messaging (GCM) developer, and I want to use the Notifications composer. What should I do?
The Notifications composer is an out-of-the-box solution that lets anyone send notifications to target specific audiences based on insights from Google Analytics for Firebase. Also, the Notifications composer provides funnel analysis for every message, allowing easy evaluation of notification effectiveness.
If you are an existing GCM developer, to use the Notifications composer you have to upgrade from GCM SDKs to FCM SDKs. See the guides for migrating Android and iOS apps.
Cloud Storage
Cloud Storage: Why can't I use Cloud Storage?
Cloud Storage for Firebase creates a default bucket in the App Engine no-cost tier. This allows you to quickly get up and running with Firebase and Cloud Storage for Firebase, without having to put in a credit card or enable a Cloud Billing account. It also allows you to easily share data between Firebase and a Google Cloud project.
There are, however, two known cases where this bucket cannot be created and you will be unable to use Cloud Storage for Firebase:
- A project imported from Google Cloud which had a App Engine Master/Slave Datastore application.
- A project imported from Google Cloud which has domain prefixed projects. For example:
domain.com:project-1234
.
There are currently no workarounds to these issues, and we recommend that you create a new project in the Firebase console and enable Cloud Storage for Firebase in that project.
Cloud Storage: Why do I see new service account IDs associated with my Firebase projects that use Cloud Storage?
Firebase uses service accounts to operate and manage services without sharing user credentials. When you create a Firebase project, you might notice that a number of service accounts are already available in your project.
If you used Cloud Storage before September 15, 2020, you may see the following legacy service account that is used to manage your bucket: firebase-storage@system.gserviceaccount.com
.
After September 15, 2020, Cloud Storage for Firebase buckets may include an additional new service account: service-<project number>@gcp-sa-firebasestorage.iam.gserviceaccount.com
.
You can view all service accounts associated with your project in the Firebase console, on the Service accounts tab .
Removing the new service account
We strongly discourage you from removing the new service account because if you do so, you will not be able to take advantage of upcoming security improvements.
However, if you prefer, you can disable the API or remove access from the new service account. Removing this account may block access to your Cloud Storage bucket from your apps.
Adding the new service account
If you removed the new service account or disabled the API and want to add them back, follow the instructions provided in Creating and managing service accounts for using the Google Cloud Console to add service-<project number>@gcp-sa-firebasestorage.iam.gserviceaccount.com
to the set of service accounts for your project.
Crashlytics
Visit the Crashlytics troubleshooting & FAQ page for helpful tips and answers to more FAQs.
Crash Reporting: Why are there fewer crash reports in Analytics than Crash Reporting?
Crash Reporting creates a separate background process to upload crash info. If your app extends the Android Application class, you must ensure it is multi-process safe. Otherwise, it may cause concurrency issues. When an app extends an Application object, this object gets instantiated for each process in a multi-process app. Consider the following when adding Crash Reporting to your app:
- If the implementation of this object accesses any out-of-process state (a database, the file system, shared preferences, etc), or performs other actions not safe for a multi-process environment, concurrency issues might arise. This is because multiple instances of the Application object may run simultaneously.
- Many third-party libraries keep out-of-process state (eg in a local database) and are subject to the same concurrency issues if they are initialized from the Application object. If your app fits this description and you plan to use Crash Reporting in your app, we strongly encourage you to consider moving the Application logic to Content Providers, or to Android Activities. Any Application logic that is not safe for a multi-process environment can have unintended effects on your app.
Crash Reporting automatically exports captured errors to Google Analytics as app_exception events. Currently on Android, you may see a significant discrepancy between the number of Crash Reporting errors and Analytics app_exception events.
Dynamic Links
Dynamic Links: Why does my Android app access each Dynamic Link twice?
The getInvitation
API clears the saved Dynamic Link to prevent it from being accessed twice. Be sure to call this API with the autoLaunchDeepLink
parameter set to false
in each of the deep link activities to clear it for the case when the activity is triggered outside the main activity.
Hosting
Hosting: Why does my Hosting release history table in the Firebase console show file counts that are more than what my local project actually has?
Firebase automatically adds extra files containing metadata about the Hosting site, and these files are included in the total file count for the release.
Hosting: What's the largest file size that I can deploy to Firebase Hosting?
Hosting has a maximum size limit of 2 GB for individual files.
We recommend storing larger files using Cloud Storage , which offers a maximum size limit in the terabyte range for individual objects.
Hosting: How many Hosting sites can I have per Firebase project?
The Firebase Hosting multisite feature supports a maximum of 36 sites per project.
Performance Monitoring
Visit the Performance Monitoring troubleshooting & FAQ page for helpful tips and answers to more FAQs.
Performance Monitoring: How many custom URL patterns can I create?
You can create up to 400 total custom URL patterns per app and up to 100 custom URL patterns per domain for that app.
Performance Monitoring: Why am I not seeing real time display of performance data?
To view real time performance data, make sure that your app uses a Performance Monitoring SDK version that's compatible with real time data processing.
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
Realtime Database
Realtime Database: Why was my Realtime Database reported bandwidth lower than average between September 2016 and March 2017?
For our bandwidth calculations, we normally include SSL encryption overhead (based on layer 5 of the OSI model). However, in September 2016, we introduced a bug that caused our bandwidth reporting to ignore encryption overhead. This might have resulted in artificially low reported bandwidth and bills on your account for a few months.
We released a fix for the bug in late March 2017, returning bandwidth reporting and billing to their normal levels.
Realtime Database: What are the scaling limitations of the Realtime Database?
Each Realtime Database instance has limits on the number of write operations per second. For small writes, this limit is approximately 1000 write operations per second. If you are approaching this limit, batching operations using multi-path updates can help you achieve higher throughput.
In addition, each database instance has a cap on the number of simultaneous database connections . Our default limits are large enough for most applications. If you are building an app that requires additional scale, you may need to shard your application across multiple database instances for added scale. You may also consider Cloud Firestore as an alternative database.
Realtime Database: What can I do if I'm over my Realtime Database usage limits?
If you've received an email alert or notification in the Firebase console that you've exceeded your Realtime Database usage limits, you can address it based on the usage limit you've exceeded. To see your Realtime Database usage, go to the Realtime Database Usage dashboard in the Firebase console.
If you're over your download limit, you can upgrade your Firebase pricing plan or wait until your download limit resets at the start of your next billing cycle. To decrease your downloads, try the following steps:
- Add queries to limit the data that your listen operations return.
- Check for unindexed queries.
- Use listeners that only download updates to data — for example,
on()
instead ofonce()
. - Use security rules to block unauthorized downloads.
If you're over your storage limit, upgrade your pricing plan to avoid service disruptions. To reduce the amount of data in your database, try the following steps:
- Run periodic cleanup jobs.
- Reduce any duplicate data in your database.
Note that it may take some time to see any data deletions reflected in your storage allotment.
If you're over your simultaneous database connections limit, upgrade your plan to avoid any service disruptions. To manage simultaneous connections to your database, try connecting via users via the REST API if they don't require a realtime connection.
Remote Config
Remote Config: Why don't fetched values change the behavior and appearance of my app?
Unless you fetch values with fetchAndActivate()
, values are stored locally but not activated. To activate fetched values so that they can take effect, call activate
. This design lets you control when the behavior and appearance of your app changes, because you can choose when to call activate
. After you call activate
, your app source code determines when updated parameter values are used.
For example, you could fetch values and then activate them the next time a user starts your app, which removes the need to delay app startup while your app waits for fetched values from the service. Changes to your app's behavior and appearance then occur when your app uses the updated parameter values.
To learn more about the Remote Config API and usage model, see Remote Config API Overview .
Remote Config: I am making a lot of fetch requests while developing my app. Why doesn't my app always get the latest values from the service when it sends fetch requests?
During app development, you might want to fetch and activate configs very frequently (many times per hour) to let you rapidly iterate as you develop and test your app. To accommodate rapid iteration on a project with up to 10 developers, you can temporarily set a FirebaseRemoteConfigSettings
object with a low minimum fetch interval ( setMinimumFetchIntervalInSeconds
) in your app.
Remote Config: How quickly does the Remote Config service return fetched values after my app sends a fetch request?
Devices usually receive fetched values in less than a second, and often receive fetched values in milliseconds. The Remote Config service handles fetch requests within milliseconds, but the time required to complete a fetch request will depend on the network speed of the device and the latency of the network connection used by the device.
If your goal is to make fetched values take effect in your app as soon as possible, but without creating a jarring user experience, consider adding calls to fetchAndActivate
each time that your app does a full screen refresh.
Test Lab
Visit the Test Lab troubleshooting page for helpful tips and answers to FAQs.