Cordova Firebase Remote Config Plugin vs. Web SDK - firebase

Firebase recently announced remote config for their web SDKs. In an app built with Cordova or Ionic, is there any feature that would justify using the cordova plugin for remote config instead of using the firebase sdk?
For example, I think that in the case of firebase analytics, it's better to use the cordova plugin because it's able to detect events such as app open and app close and I think the web sdk will not be able to track these events.

Related

Packaging a cross-platform electron app with firebase auth

I am trying to follow the firebase-electron guide instructions documented in the readme file here:
https://firebaseopensource.com/projects/david-asher/electron-firebase/#create-a-firebase-project
But I eventually get to a step which says
It is highly recommended that you add firebase-config.json to your .gitignore file. It contains project-specific information that you do not want to check in with the app, nor should it be packaged when building your app.
I was planning on releasing my electron app on the mac / windows / linux stores. And if firebase-electron needs the firebase-config.json file variables, then is there no way to release my electron app with authentication using firebase?
My end goal is to release an electron app with login capabilities that can work on both an electron app and browser. Specifically the YouTube API for uploading videos in node.js which requires a request to be made using the user's auth token (which you can get signing in through google using firebase, but can I release an app with firebase?)
Or maybe is there a better solution / example

How to link web app to a Firebase Hosting site using CLI

Is it possible to link the web app in my Firebase project to a Firebase Hosting site using CLI instead of the following console dialog?

Whats the difference between firebase web app and firebase hosting

what is the difference between the firebase web app and firebase hosting?
As far as i can tell the web app is used for an app thats actually just a browser,
and the firebase hosting is used just for websites.
Firebase for Web-Apps is a JavaScript library and Firebase Hosting is a web-hosting platform.
The JS can be loaded from just any web-server, but on Firebase Hosting it is better integrated with other the components in the Firebase ecosystem - and it can be deployed with the Firebase CLI.

Can't init firebase on iOS in Unity without having an Android project

I've tried initializing Firebase on Unity for iOS app only, and I'm getting this error while running:
Unable to load options for default app ([/Users/yaniv/Downloads/21312111222/New Unity Project333/Assets/StreamingAssets/google-services-desktop.json, /Users/yaniv/Downloads/21312111222/New Unity Project333/Assets/StreamingAssets/google-services.json] are missing or malformed)
I know that for cross-platform apps, I usually download the google-services.json from the Firebase project settings, but in this case, I have no Android apps under this project (it's an iOS app only).
How can I prevent Firebase from request it?

How to communicate with Firebase database form Android Things using a service account

I have an Android client and an Android Things server application sharing a Firebase database. How can I communicate from the Android Things application with the Firebase database using a service account? Following the instructions below results in a Gradle error.
https://firebase.google.com/docs/admin/setup
Gradle error
Error:(56, 0) Version: 5.8.0 is lower than the minimum version (9.0.0) required for google-services plugin.
You've got several things going wrong here.
First, you don't need a service account to deal with Firebase services from within an Android Things app. You deal with Firebase just like you would a normal Android app as a client of the Firebase service. There is literally almost no difference in how you interface with Firebase from this perspective.
Second, don't use firebase-admin in an Android app. That's for server-side code. Use the normal Firebase client SDKs for Android.
Also bear in mind that Android Things Developer Preview 0.6.1 has Play Services 11.6.x on it, and it doesn't self-update like normal Android devices. This means you have to use the 11.6.0 Firebase and Play SDKs in your Thing app. If you try to use newer versions, the client will fail because the client SDK versions aren't matched by an equal or better Play Services APK on the device.

Resources