firebase-remote-config-basics

Configures Firebase Remote Config templates and SDK setup for Android and iOS apps.

2|Updated Mar 7, 2025
One-click install
npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-remote-config-basics-abdelrhmanuzaki
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-remote-config-basics
Source: https://github.com/AbdelrhmanUZaki/KnowledgeNuggets/tree/main/2-setup/shared/gemini/config/plugins/firebase/skills/firebase_remote_config_basics
Command: npx skills add https://github.com/AbdelrhmanUZaki/KnowledgeNuggets --skill firebase-remote-config-basics-abdelrhmanuzaki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Managing app behavior and feature flags without shipping app updates is difficult. This Skill guides you through setting up Firebase Remote Config, managing cloud-based configuration templates, and deploying changes via the Firebase CLI. ## Core Features & Use Cases - SDK Setup Guidance: Step-by-step references for integrating Remote Config into Android and iOS applications. - Template Management via CLI: Fetch, edit, deploy, and version-control your Remote Config JSON template using Firebase CLI commands. - Troubleshooting & Best Practices: Handles npx 403 errors, missing project context, and recommends fetching strategies like real-time listeners and load-on-next-startup patterns. - Use Case: You want to roll out a new feature flag to 10% of users in a specific country. Use this Skill to fetch the current template, add a condition and parameter, review the changes, and deploy them without an app release. ## Quick Start Ask the assistant to fetch your current Firebase Remote Config template and add a new feature flag parameter for a specific user segment.

Frequently Asked Questions about firebase-remote-config-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Firebase Remote Config in my Android or iOS app?▼

Remote Config setup requires a Firebase project and a registered Android or iOS app. Follow the platform-specific setup references to integrate the SDK, set in-app default values, and implement fetch-and-activate logic in your application code.

How do I deploy Remote Config template changes using the Firebase CLI?▼

Fetch the current template with remoteconfig:get, edit the local JSON file, then deploy with firebase deploy --only remoteconfig. A firebase.json file mapping the template is required, and you should verify changes with remoteconfig:versions:list afterward.

Does Firebase Remote Config require the Firebase CLI?▼

No, the Firebase CLI is optional but recommended for command-line template management. It can be run via npx -y firebase-tools@latest without a global installation, though SDK setup in your app works independently of the CLI.

Why does npx firebase-tools fail with a 403 Forbidden error?▼

A 403 error occurs when npx cannot fetch the package due to registry permission restrictions. The fallback is to use a globally installed firebase command via npm install -g firebase-tools after confirming it exists on the system.

What is the best fetching strategy for Firebase Remote Config?▼

The recommended pattern is activating previously fetched values immediately at startup while fetching new values in the background for the next launch. For instant updates, use the SDK's real-time listener to apply server-side changes without an app refresh.