app
Properties
utils
</>Utils provides a collection of utilities to aid in using Firebase and related services inside React Native, e.g. Test Lab helpers and Google Play Services version helpers.
utils: ;
Methods
initializeApp
</>Signature 1
</>Create (and initialize) a FirebaseApp.
initializeApp(options: FirebaseAppOptions, config?: FirebaseAppConfig): Promise<FirebaseApp>;
Signature 2
</>Create (and initialize) a FirebaseApp.
initializeApp(options: FirebaseAppOptions, name?: undefined | string): Promise<FirebaseApp>;
setLogLevel
</>Set the log level across all modules. Only applies to iOS currently, has no effect on Android. Should be one of 'error', 'warn', 'info', or 'debug'. Logs messages at the configured level or lower (less verbose / more important). Note that if an app is running from AppStore, it will never log above info even if level is set to a higher (more verbose) setting. Note that iOS is missing firebase-js-sdk log levels 'verbose' and 'silent'. 'verbose' if used will map to 'debug', 'silent' has no valid mapping and will return an error if used.
setLogLevel(logLevel: LogLevelString): void;