firebase-remote-config
Use when implementing feature flags, running A/B tests, setting parameter defaults, fetching/activating config, or enabling real-time config updates.
Install / Use
npx skills add evanca/flutter-ai-rules --skill firebase-remote-configInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Our assessment of firebase-remote-config
firebase-remote-config scores 87/100 on our quality scale, 372nd of 731 Operations skills we index.
Its SKILL.md is 4.3 KB long, well organised into 9 sections with 8 code examples: a solid amount of guidance for an agent.
It has 646 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 19 days ago, so firebase-remote-config is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
firebase-remote-config compared with similar skills
All 4 of these similar skills score higher than firebase-remote-config; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| firebase-remote-config (this skill)by evanca | 87 | 646 | 19d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 12d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 12d ago | SKILL.md |
Frequently asked questions
- How do I install firebase-remote-config?
- Run
npx skills add evanca/flutter-ai-rules --skill firebase-remote-config. The install tabs above show the steps for each supported agent. - Which AI agents does firebase-remote-config work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is firebase-remote-config safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is firebase-remote-config still maintained?
- The repository was last updated 19 days ago, so firebase-remote-config is actively maintained.
Skill content
View source on GitHubname: firebase-remote-config description: "Use when implementing feature flags, running A/B tests, setting parameter defaults, fetching/activating config, or enabling real-time config updates." license: MIT
Firebase Remote Config Skill
This skill defines how to correctly use Firebase Remote Config in Flutter applications.
When to Use
Use this skill when:
- Implementing feature flags or remote configuration without deploying app updates.
- Managing parameter defaults and fetching remote values.
- Implementing real-time config updates for instant changes.
- Setting up A/B testing or conditional targeting for user segments.
1. Setup and Configuration
flutter pub add firebase_remote_config
flutter pub add firebase_analytics # required for conditional targeting of app instances
import 'package:firebase_remote_config/firebase_remote_config.dart';
final remoteConfig = FirebaseRemoteConfig.instance;
- Enable Google Analytics in the Firebase project for user property and audience targeting.
- Ensure the Remote Config REST API is not disabled — the SDK depends on it.
- For macOS, enable Keychain Sharing in Xcode.
Configure settings:
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(minutes: 1),
minimumFetchInterval: const Duration(hours: 1),
));
2. Parameter Management
Set in-app defaults (ensures the app behaves as intended before connecting to the backend):
await remoteConfig.setDefaults(const {
"feature_new_onboarding": false,
"max_retry_attempts": 3,
"welcome_message": "Hello, world!",
"promo_discount_pct": 0.0,
});
Read values with type-specific getters:
final showNewOnboarding = remoteConfig.getBool("feature_new_onboarding");
final maxRetries = remoteConfig.getInt("max_retry_attempts");
final welcomeMsg = remoteConfig.getString("welcome_message");
final discount = remoteConfig.getDouble("promo_discount_pct");
- Never store confidential data in Remote Config keys or values — they can be accessed by end users.
- Define parameters with the same names in the Firebase console as those in the app.
- Group related parameters with common prefixes (e.g.,
login_timeout,login_attempts_max).
3. Fetching and Activating
await remoteConfig.fetchAndActivate();
- Use
fetchAndActivate()to fetch and apply values in a single call. - Alternatively, call
fetch()thenactivate()separately to control when values take effect. - Activate fetched values at appropriate times (e.g., app start) for a smooth user experience.
- Check
remoteConfig.lastFetchStatusto determine if the fetch was successful, failed, or throttled. - Handle fetch failures gracefully — default values are used automatically when fetch fails.
4. Real-time Updates
remoteConfig.onConfigUpdated.listen((event) async {
await remoteConfig.activate();
// event.updatedKeys contains the changed parameter names
if (event.updatedKeys.contains("feature_new_onboarding")) {
// Refresh UI based on the new value
}
});
- Real-time Remote Config is not available for Web.
- Update UI state when new configuration values are activated.
- Ensure real-time updates do not disrupt the user experience mid-flow.
5. Throttling and Performance
- Fetch calls are throttled if an app fetches too frequently.
- Default minimum fetch interval in production: 12 hours.
- For development, use a shorter interval — but only in debug builds:
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(minutes: 1),
minimumFetchInterval: const Duration(minutes: 5),
));
- Be mindful of service-side quota limits with a large user base.
6. Testing and Debugging
- Use conditional values in the Firebase console to test configurations without new app deployments.
- Implement A/B testing with different parameter values for different user segments.
- Test the app with both default and remote values.
- Verify graceful handling of configuration changes at runtime.
- Test offline behavior to ensure proper fallback to defaults.
References
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
