Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@nativescript/firebase-core

Package Overview
Dependencies
Maintainers
18
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/firebase-core

NativeScript Firebase - Core

Source
npmnpm
Version
2.5.1
Version published
Maintainers
18
Created
Source

@nativescript/firebase-core

npm install @nativescript/firebase-core

Usage

Android

Ensure google-services.json file located in App_Resources/Android/src.

iOS

Ensure GoogleService-Info.plist file located in App_Resources/iOS.

Initialize Default App

import { firebase } from '@nativescript/firebase-core'
const defaultApp = await firebase().initializeApp();

Initialize Secondary App

import { firebase, FirebaseOptions } from '@nativescript/firebase-core'
const config = new FirebaseOptions()
const secondaryApp = await firebase().initializeApp(config, 'SECONDARY_APP');

License

Apache License Version 2.0

Keywords

NativeScript

FAQs

Package last updated on 12 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts