Skip to main content

smf_firebase_remote_config 0.9.0 copy "smf_firebase_remote_config: ^0.9.0" to clipboard
smf_firebase_remote_config: ^0.9.0 copied to clipboard

The SMF module of Firebase Remote Config for the Flutter app that SMF generates. The app reads values that the Firebase project changes without a new version of the app.

smf_firebase_remote_config #

The SMF module of Firebase Remote Config with firebase_remote_config. It provides the remote config role of SMF: the app reads values that its Firebase project changes without a new version of the app. Each value has a default, which the app uses while the project gives none.

The remote config role generates appRemoteConfig, through which the code of the app reads the values; RemoteValues, with a getter for each parameter of the app; and the RemoteConfigService interface. This module adds firebase_remote_config to the app and implements the interface on FirebaseRemoteConfig with the real-time updates of Firebase: a value that you publish in the Firebase console reaches a running app, which makes it active at once. The start of the app never waits for a fetch: it makes active what the device kept from the last one. Firebase Remote Config works on the Firebase app, so the module depends on smf_firebase_core, which comes with it and sets up Firebase.

An app without parameters asks Firebase nothing. Once a module of the app reads a parameter, such as the minimum version of the app, you create that parameter in Remote Config of the Firebase project of each flavor. The README of the app lists this among the steps that you do by hand, in its section "Finish the setup". It also tells which APIs of Google the project needs, what fetches cost and what each fetch sends.

Use with the SMF CLI #

smf create asks which module provides the remote config of the app, and offers none as well. To choose this one without the question:

smf create my_app -m firebase_remote_config

You don't add this package to an app yourself: smf create of the SMF CLI puts what the module generates into the app.

SMF generates apps for Flutter 3.44 or newer and Dart 3.12 or newer. It is tested on macOS, Linux and Windows.

Documentation #

0
likes
160
points
0
downloads

Documentation

Documentation
API reference

Publisher

verified publishersaymyframe.com

Weekly Downloads

The SMF module of Firebase Remote Config for the Flutter app that SMF generates. The app reads values that the Firebase project changes without a new version of the app.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #firebase #remote-config #feature-flags #template

License

Apache-2.0 (license)

Dependencies

mason, smf_contracts, smf_firebase_core

More

Packages that depend on smf_firebase_remote_config