mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
* 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
14 lines
516 B
Dart
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();
|
|
}
|