0.0.7 • Published 2 years ago

@amalgamaco/firebase-min-versions-fetcher v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Firebase Min Versions Fetcher

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating

Fetches the minimum supported and recommended versions for the app version checker using firebase remote config.

Requirements

You must install @react-native-firebase/remote-config and configure it in your project before installing this package in order for remote config to work correctly.

Configuration

By default the fetcher expect the variables min_supported_app_version and min_recommended_app_version to be defined in the project remote config console. If you want to change the name of this variables you can do it from the configuration passed to the fetcher when creating a new instance:

new FirebaseMinVersionsFetcher( {
	minSupportedAppVersionKey: 'other_min_supported_version_key_name',
	minRecommendedAppVersionKey: 'other_min_recommended_version_key_name'
} )