question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: add cordova-plugin-firebase functionality

See original GitHub issue

The cordova-version of the plugin does not work with capacitor because the implementation relies on extending AppDelegate (there are probably more issues but that was the first show-stopper I encountered). I’ve seen that the Messaging (push-notification) part is handled in another issue (#380 ), so I will limit this one to the remaining functionality:

  • Analytics
  • RemoteConfig
  • Auth
  • Crash

At least for our apps (and most probably other enterprise apps) Analytics and RemoteConfig are two very essential parts and it would be nice to see them integrated along with the push-notifaction plugin.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:44
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
jcesarmobilecommented, Jul 10, 2018

Issues tagged with plugin request are closed but tracked for reactions to gauge interest. If you are interested in this plugin, add the thumbs up emoji (+1) reaction on the issue so we can sort them based on it.

2reactions
kaimalliecommented, Aug 29, 2018

I was looking for a solution and did this, I can now track Analytics in Firebase. I’m using the Firebase Analytics plugin.

  1. Add the Firebase SDK to your capacitor ios project with pods
  2. Add ‘import’ firebase to AppDelegate.swift:
import FirebaseCore
import FirebaseAnalytics
import FirebaseInstanceID

And this for FirebaseAnalyticsPlugin.m file (inside Pods):

@import FirebaseCore;
@import FirebaseAnalytics;
@import FirebaseInstanceID;
  1. Add FirebaseApp.configure() to didFinishLaunchingWithOptions
  2. Add GoogleService-Info.plist file from Firebase to ‘App’ folder in xcode

Now it’s working 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cloud Functions for Firebase - Google
Integrate across Firebase features using the Admin SDK together with Cloud Functions, and integrate with third-party services by writing your own webhooks.
Read more >
cordova-plugin-firebase-messaging - npm package - Snyk
We found that cordova-plugin-firebase-messaging demonstrates a positive version release cadence with at least one new version released in the past 3 months. As ......
Read more >
[Firebase Mobile Sample] Error installing cordova-plugin ...
We are facing below while generating .apk and .ipa file. [2020-02-06T09:33:41.314Z] [INFO] Start processing job request...
Read more >
How to use Firebase with Ionic 4 - Complete guide for beginners
... in your Ionic 4 app. Learn various Ionic 4 plugins for different Firebase features. ... ionic cordova plugin add cordova-plugin-firebase-analytics
Read more >
Configuring cordova-plugin-firebase - Stack Overflow
Firebase SDK requires the configuration files to be present and valid, otherwise your app will crash on boot or Firebase features won't work....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found