I am trying to get the records of the events stored from the application side to Firebase Analytics using Laravel or PHP.
No data is showing in the Console but, approximately every 30 seconds, an event occurs.
Is Firebase Analytics a storage facility? Are Firebase Analytics and Firebase Database the same?
I've tried using the kreait/firebase-php library but did I cannot get data of events that stored at Firebase Analytics.
Google Analytics for Firebase events are not directly accessible from the client-side (mobile app or from a web page).
However, you can access them via BigQuery from PHP.
Here are some hopefully helpful links: cloud.google.com/php/docs/reference cloud.google.com/bigquery/create-simple-app-api
To answer your other questions above, Firebase Analytics is not a storage solution, it is an analytics solution; Firebase Analytics is not the same as Firebase Database, and Firebase Analytics does not use Firebase Database to store its data.
Related
i want to use volley to access my PHP API in realtime
is that even possible?
can i reflect database changes in my application in realtime like we can do in firebase ?
Can I get firebase notifications without a phone.
I know firebase Instance Id, Firebase Token and Device ID. Cant I receive all notifications with PHP, node.js etc.
I want pull Firebase Notifications.
Firebase Cloud Messaging only supports delivery of messages to iOS, Android and Web devices. There are no public APIs/SDKs for delivery to other devices/platforms through Firebase Cloud Messaging.
For the platforms you mention, consider using one of Firebase's databases (Realtime Database, Cloud Firestore) both of which allow delivering of realtime notifications when the data in the database changes.
Iam using firebase to store all the crashes and analytics comming from Android and iOS devices this part is done and iam able to monitor all the events on the firebase console.
Now we have a php admin portal (website) and we wanted to show all the crashes and events data on the website instead of the going to firebase console everytime .
Is there any api that i could use to pull crashlytics or analytics data. I have gone through various articles saying to use bigquery but iam not sure how to implement it. I have tried php firebase admin SDK(kriat) but that does not seem to have any api to pull data.
Thanks in advance
Firebaser here - there is not an API that you can connect to that will allow you to pull crash data from the Firebase console or backend. BigQuery is the route you should take to export data from the Firebase console for Crashlytics and Analytics and do further work on it.
Here are some handy links:
Exporting Crashlytics data to BigQuery
Linking Firebase to BigQuery
BigQuery export schema
I want a notification to be shown when any user posts any new message in my Android app, my iOS app, and the Web the notification should be shown to all the users who are using the app, with the message in the notification like WhatsApp notification. I am using a firebase real-time database for saving and retrieving the message.
Please let me know how I can achieve it.
First step is to get the firebase messaging sdk & credentials from firebase console.
Using that sdk, we need to get permission from user to send notification.
If the user accepts, then we get a token.
Using the acquired token, we can send notification to the user with the credentials retrieved from the firebase console.
You can see full technical blog on medium here
First step is to get the firebase messaging sdk & credentials from firebase console.
Second using Laravel-FCM is an easy to use package working with both Laravel and Lumen for sending push notification with Firebase Cloud Messaging (FCM).
https://github.com/apility/Laravel-FCM
I have made forum app (android) it uses web services to send/retrieve data from database (phpmyadmin). Now when a new question is added then everyone using the app should get a headsup notification that there is a new question. After searching every where I found that FCM should be used but I'm not getting how to use Firebase with my existing database because I want all the data to be stored in my database and also show notification.
You can pick what Firebase features you want to use. So if you use Firebase Cloud Messaging, you don't have to use the Firebase Database. You can just stick to your own database and call out to FCM from your PHP code.
Some examples of calling FCM:
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?
Send FCM messages from server side to android device
many of the results in this list