New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/firebase-core

Package Overview
Dependencies
Maintainers
18
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/firebase-core

NativeScript Firebase - Core

2.2.2
Source
npm
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 28 Jul 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