Files
lunasea/lib/core/firebase/core.dart
Jagandeep Brar bb725ce056 fix(uiux): Major reimplementation of tiles, refactoring and tightening of UI (#525)
* fix(database): Use native extension instead of describeEnum
* new(sonarr): [Catalogue] Previous airing sorting options
* splash: Rebuild Android & iOS splash screens
* changelog: Refactor changelog sheet
* Continued WIP Polish of UI
* chore: Reintegrate pods
* calendar: Added second line for Lidarr/Radarr entries
* settings: Show quick actions information as banner block
* lidarr: Add support for monitoring options on add, posters in result list
* uiux: Fade edges of scrollable text
* drawer: Restyle header
* Remove redundant body texts in edit/add content
* macos: Set window size & alignment
* settings: Add description banner block for profiles
2021-12-22 13:07:28 -06:00

14 lines
516 B
Dart

import 'dart:io';
import 'package:firebase_core/firebase_core.dart';
class LunaFirebase {
/// Returns true if Firebase in its entirety is compatible with this build system/platform.
static bool get isPlatformCompatible =>
Platform.isIOS || Platform.isAndroid || Platform.isMacOS;
/// Initialize Firebase and configuration.
///
/// This must be called before anything accesses Firebase services, or an exception will be thrown.
Future<void> initialize() async => await Firebase.initializeApp();
}