Activate Firebase Events DebugView in Unity - firebase

Is there any way to activate the Firebase Events DebugView in Unity or even just to log an event without the use of a real/virtual device (use it with a PC application)?
I can use Storage, Realtime Database and the Auth with no problem, but when I try to use the Firebase Analytics to Log events, nothing happens.
I've even tried the quick-start sample with no success.
Is it possible or I can only use it with a device?

Firebase very few services only support Desktop/Editor version. Unfortunately Analytics will not support it. you need to build on device and debug in Xcode/Android studio
https://firebase.google.com/docs/unity/setup - please see last 2 paragraph

Related

Firebase RISC API integration

I'm using sign in with google via firebase, but I'd like to register a custom receiver (https://developers.google.com/identity/protocols/risc#register_your_receiver) to detect Security Events (https://developers.google.com/identity/protocols/risc#handle_events)
As reported in the errors table here https://developers.google.com/identity/protocols/risc#error_codes
403 "Existing stream configuration does not have spec-compliant
delivery method for RISC." -> "Your Google Cloud project must already
have a RISC configuration. If you are using Firebase and have Google
Sign-In enabled, then Firebase will be managing RISC for your project;
you will not be able to create a custom configuration. If you are not
using Google Sign-In for your Firebase project, please disable it, and
then try to update again after an hour."
I undestand that Firebase manage RISC for my project. Does it means that I cannot detect security events with custom receiver?
Is there any way I can intercept these events via Firebase?
Thanks
I contacted Firebase support team and they said that unfortunately, at the moment, there's no way to intercept these events using Firebase Authentication, it could be a new feature.

Enabling Crashlytics with Firebase Management API

We are developing large number of customized Android and iOS applications for our customers. We have used Fabric to manage the crashes and Google Cloud Messaging to send push messages for the applications. We have now migrated all those applications to Google Firebase.
We are using Firebase Management REST API to create the applications into Firebase enabled projects from our PHP backend. For Android apps we use methods projects.androidApps.create and projects.androidApps.getConfig to get access to the application google-services.json. We include that to the build, which passes without errors and the push messages work without a problem. However, the Crashlytics side does not get enabled. In Firebase console there is only a wizard to set up a new Firebase app. When running it, it gives impression that Craslytics will get enabled, when the app starts using Firebase, but it is not.
Is there an API to enable the Crashlytics for an app? We can use REST or PHP based API in the backend. Also, if there is a client side API to awaken Crashlytics, we can use that too.
This is currently not possible, though with the new Crashlytics SDKs we are looking at ways of changing this behavior. In the future, as soon as we receive a crash event we will enable the Crashlytics dashboard. The timeline for this though, is unknown.

How do you access OneSignal's database on Android & iOS in Flutter?

I am using OneSignal in my Flutter application to receive notifications. I have created my own table within Flutter to save notifications but I cannot save messages that have been sent whilst the app has been terminated. However, I have found that the OneSignal package has it's own database installed on the device which captures everything no matter what state the application is in! So, to avoid duplicating data I want to use this database instead. It is located outside of the flutter app folder which is my issue (see image below).
How do I access this database? Does anybody know if it is the same on iOS (I haven't been able to check at this time).
Many thanks.
It's important to understand that if an app has been terminated, any onReceived handler will not be fired. We don't recommend using the local db at all. Your best bet is to use the respective notification extender services for each platform. Though you will have to write native code for this! Cheers
Edit:
ANDROID - NotificationExtenderService - This can be setup to receive silent notifications when your app is not running or to override how notifications are shown in the notification shade. See the Background Data and Notification Overriding section to set this up.

Firebase - Will firebase-messaging work without firebase-core?

Since we don't need firebase analytics, I was wondering if the notifications has any link with firebase-core or none at all?
Unfortunately I can't test them before releasing the app.

Using Firebase Analytics inside our android SDK

We're building SDK for Android apps which hopefully be used inside many android apps.
We need analytics both for ourselves and for the companies who would implement our SDK.
Does it make sense to implement firebase analytics inside our SDK in order to achieve this requirements?
(I know that it works with big query so I thought I might be able to gain lots of value from it.)
Is it even possible? (because of the JSON needed for the hosting app)
If it does make sense, what I really need is a list of pros and cons for using it in this scenario.
You can integrate Firebase Analytics within your app, then track who uses your SDK by logging a custom event and parameters or any other information that you need.
Note that custom parameters are not directly displayed in your Analytics reports, however you can link your app to BigQuery to see these data.
As of now, this is not possible.
There is an issue created for this on Github.
https://github.com/firebase/firebase-android-sdk/issues/66
Initialize FirebaseApp without google-services.json
FirebaseOptions options = new FirebaseOptions.Builder()
.setApplicationId(applicationID) // Required for Analytics.
.setApiKey(apiKey) // Required for Auth.
.build();
FirebaseApp.initializeApp(context, options);
<provider
android:name="com.google.firebase.provider.FirebaseInitProvider"
android:authorities="${applicationId}.firebaseinitprovider"
tools:node="remove"/>
But the replies says as below:
Google Analytics for Firebase (GA4F) doesn't support dynamic
initialization. Our engineers are checking the possible solutions to
support this. It's just that we still haven't found a definite
timeline as to when (or if) this will be available. GA4F will not work
without the google-services.json file (or Gradle on your end). Even
though you can initialize the FirebaseApp dynamically through code,
GA4F will not recognize this and will only result in the error message
you are seeing. The scenario you are getting is only specific to
Google Analytics for Firebase. However, you can still use other
products like Firestore, Realtime Database, Storage even if you are
not using Gradle plugin.

Resources