Zum Hauptinhalt springen
@capgo/capacitor-Firebase-App Integrations Offene Quelle

Firebase-App Capacitor Plugin

Capacitor Plugin für Firebase App

Installieren

bun add @capgo/capacitor-firebase-app bunx cap sync
npm, pnpm oder yarn
  • npm install @capgo/capacitor-firebase-app
  • pnpm add @capgo/capacitor-firebase-app
  • yarn add @capgo/capacitor-firebase-app

Richtlinie

Wie man Firebase App in Capacitor verwendet

Verwendung von @capgo/capacitor-firebase-app

Capacitor-Plugin für Firebase App

Installieren

bun add @capgo/capacitor-firebase-app
bunx cap sync

bunx cap sync kopiert das Plugin-code in Ihre native Projekte. Führen Sie es erneut aus, nachdem Sie jede Plugin-Upgrade durchgeführt haben.

Importieren

import { FirebaseApp } from '@capgo/capacitor-firebase-app';

API im Überblick

Methode Beschreibung
getName Ermitteln Sie den Namen dieser App.
getOptions Ermitteln Sie die Konfigurationsoptionen für diese App.

Beispiele

getName()

Ermitteln Sie den Namen dieser App.

import { FirebaseApp } from '@capgo/capacitor-firebase-app';

const result = await FirebaseApp.getName();
console.log(result);

getOptions()

Ermitteln Sie die Konfigurationsoptionen für diese App.

import { FirebaseApp } from '@capgo/capacitor-firebase-app';

const result = await FirebaseApp.getOptions();
// The result holds sensitive values: use it without logging it.

Vollständige Referenz

Fortsetzen Sie mit der Verwendung von @capgo/capacitor-firebase-app

Wenn Sie @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-firebase-app verwenden Verwenden Sie @capgo/capacitor-firebase-app Um native Plugin-Arbeit zu planen, verbinden Sie es mit dem Capgo Plugin-Verzeichnis für das Produktworkflow im Capgo Plugin-Verzeichnis Capacitor Plugins von Capgo für die Implementierungsdetails in Capacitor Plugins von Capgo Hinzufügen oder Aktualisieren von Plugins für die Implementierungsdetails in Hinzufügen oder Aktualisieren von Plugins Ionic Enterprise Plugin Alternativen für das Produktworkflow in Ionic Enterprise Plugin Alternativen, und Capgo Eigenständige Builds für das Produktworkflow in Capgo Native Builds.

FAQ

Firebase App Plugin FAQ

Wie installiere ich die Firebase App-Plugin in einer Capacitor-Anwendung?

Run "bun add @capgo/capacitor-firebase-app" (or "npm install @capgo/capacitor-firebase-app"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-firebase-app" in your app code.

Funktioniert @capgo/capacitor-firebase-app mit React, Vue und Angular?

Yes. Firebase App is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

Welche Capacitor Version unterstützt @capgo/capacitor-firebase-app?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

Ist @capgo/capacitor-firebase-app kostenlos und Open-Source?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-firebase/tree/main/packages/app and the package is free to install from npm. Bug reports and pull requests are welcome.

Kann ich code ohne eine App-Store-Bewertung aktualisieren, das Firebase App verwendet?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

Firebase-App-Änderungen ohne Wartezeit für die App-Überprüfung

Einmal der Plugin in Ihrem Store-Builder installiert, Capgo Live-Updates drücken Ihre JavaScript-, HTML- und CSS-Änderungen an Benutzer in Minuten.

Starten Sie mit Capgo