@amalgamaco/firebase-min-versions-fetcher
v0.0.7
Published
Fetches the minimum supported and recommended versions for the app version checker using firebase remote config
Downloads
14
Keywords
Readme
Firebase Min Versions Fetcher
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'
} )