feature_source_firebase 1.0.2 feature_source_firebase: ^1.0.2 copied to clipboard
Feature source integration with Firebase Remote Config.
feature_source_firebase #
Important note: We recommend that you read about the feature_core package before using it.
Installation #
To use this library you need to have the following packages:
dependencies:
feature_core: ^1.0.2
feature_source_firebase: ^1.0.2
firebase_remote_config: ^2.0.0
Usage #
Compatible with wrappers:
TogglingFeatureSourceWrapper
from feature_coreRetainFeatureSourceWrapper
from feature_source_retain
FeaturesManager(
sources: {
...,
FirebaseFeatureSource(
remoteConfig: FirebaseRemoteConfig.instance, // required
minimumFetchInterval: const Duration(hours: 12), // default
fetchTimeout: const Duration(minutes: 1) // default
),
...,
}
);