Currently using the GTM Legacy SDK on my Android App, and the new Firebase + GTM SDK seems to be able to support config of events to send to others like Appsflyer and Kochava. Can the GTM legacy SDK do that too?
Related
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.
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.
I have an ionic v1 app. I've read and re-read the information about GCM to FCM migration, but I am still not 100% certain that my (unmigrated) app will still receive push notifications after April 11. I have migrated the server to FCM. I believe that the app should still work, but need it verified for certain.
Based from this link, you need to update your client code and migrate to FCM.
Existing deployed client-side apps receiving notifications will continue to work for the foreseeable future. But from mid-april, you:
won't be able to compile code using the old client-side APIs on a newer SDK/Google Play Services anymore
won't be able to call the GCM REST API to send messages anymore
To compile against the new SDK/Google Play Services, you will need to make changes to your client app to migrate to Firebase Cloud Messaging from GCM. This involves changes to the build.gradle, to AndroidManifest.xml and to your code, as described in Migrate a GCM Client App for Android to Firebase Cloud Messaging.
But aside from those changes, you don't need to get new tokens for all users. The existing tokens from GCM will continue to work.
My goal is to have App Data in Firebase Analytics, and other custom data plus app data in Google Universal Analytics.
My question is if I install Firebase SDK and GTM SDK on my App.
Does GTM handle all the data push to analytics. So with Firebase and GTM installed, will the firebase analytics automatically pick up the event tracking without going through GTM. Or when GTM is installed, everythign has to go through GTM.
For example, if I configure GTM to push data into Firebase Analytics, then will the data in Firebase Analytics be doubled up? Since GTM is pushing data and Firebase is automatically pushing data into Firebase Analytics.
Same App Event -> Firebase SDK -> Firebase Analytics (automatic)
Same App Event -> Firebase SDK -> GTM SDK -> Firebase Analytics (gtm container configured)
Same App Event ->Firebase SDK -> GTM SDK -> Google Analytics (gtm container configured)
First two will be doubled up? Is that right? Does that mean I dont need the gtm container configuration for Firebase analytics?
Through my experience, if you only want Firebase Analytics, you only need to install the Firebase SDK but if you want to then send that data to Google Analytics, you need GTM to send that data via a configured container.
Same App Event ->Firebase SDK -> GTM SDK -> Google Analytics (gtm container configured)
As an example, we have implemented Google Analytics extensively on our site to collect web data but we are utilizing Firebase (essentially as a data layer) to collect mobile app data and GTM to then send that data to Google Analytics.
Hope that helps.
If you are not using Google Analytics, you don't need to use GTM. You can track events in Firebase Analytics itself using Firebase SDK as well as you can track customized events.
If I configure GTM to push data into Firebase Analytics, then will the data in Firebase Analytics be doubled up?
Answer: Yes, if you trigger the same event from GTM as well. You will see the events twice in Firebase Analytics as one would be triggered from GTM always with the events which happen. If this issue is what you come through, try not triggering the events from GTM.
we are planning to move from the GA SDK to the Firebase SDK. Within the GA SDK there were options to retrieve the google analytics client ID (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#cid). This was fundamental since we transferred this value to the WebView (within the app), so that the customers tracking across native/webview was possible.
Does anybody know how to retrieve this client ID within firebase analytics SDK (iOS & Android)?
Thanks!
The short answer is no - the client ID equivalent (app instance ID) is not currently accessible through an SDK API.
The longer answer :
Firebase Analytics currently only supports logging events from native code. And so, the js code in your webview would call native code to log events and you don't need access to the app instance ID.