initialize_app

Function initialize_app 

Source
pub fn initialize_app(
    options: FirebaseOptions,
    settings: Option<FirebaseAppSettings>,
) -> AppResult<FirebaseApp>
Expand description

Creates (or returns) a FirebaseApp instance for the provided options and settings.

When an app with the same normalized name already exists, the existing instance is returned as long as the configuration matches. A mismatch results in AppError::DuplicateApp.