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
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 ?
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 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.
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
I'm new to android and php, I've been watching tutorials and implementing it. I'm making an app in which i want to send push notifications, I've come across many tutorials but some of them were only implemented on a single device where in my case i want to send it to all my app users(students who will be using my app). If there's any way to deliver messages via notification, I've made an app and in Live section, I want to send push notification inside an activity. How do i do it?
I've integrated firebase in my app but it doesn't support multiline messsage's. I'm fairly new to php, If there's any tutorial I could implement please suggest.
You can use Google Cloud Messaging as well as Fire base Cloud messaging
i am sure to help you this link for multiple devices
Google Cloud Messaging
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
Firebase Cloud Messaging
http://www.androidhive.info/2016/06/android-firebase-integrate-analytics/