Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@nativescript-asharghi/firebase-core
Advanced tools
A plugin to initialize FirebaseApp in your app.
Use this plugin with any of the following plugins:
Install the plugin by running the following command in the root directory of your project.
npm install @nativescript-asharghi/firebase-core
To configure Firebase for Android, see Add Firebase to your Android project and follow the steps below.
Add a Firebase configuration file : Download the google-services.json
file and add it to App_Resources/Android/src
.
To set up Firebase for iOS, see Add Firebase to your Apple project and follow the steps below:
GoogleService-Info.plist
file and add it to App_Resources/iOS/
.🚨 Plugin requires both @nativescript-asharghi/firebase-core
and any other @nativescript-asharghi/firebase-*
plugin to successfully initialize.
Import the firebase
function and call it to create a NativeScript Firebase instance. Next, call the initializeApp
method on the Firebase instance to instantiate the native FirebaseApp.
import { firebase } from '@nativescript-asharghi/firebase-core'
const defaultApp = await firebase().initializeApp();
import { firebase, FirebaseOptions } from '@nativescript-asharghi/firebase-core'
const config = new FirebaseOptions()
const secondaryApp = await firebase().initializeApp(config, 'SECONDARY_APP');
Apache License Version 2.0
FAQs
NativeScript Firebase - Core
We found that @nativescript-asharghi/firebase-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.