


- #FLUTTER FIREBASE ANALYTICS FOR ANDROID#
- #FLUTTER FIREBASE ANALYTICS ANDROID#
- #FLUTTER FIREBASE ANALYTICS FREE#
#FLUTTER FIREBASE ANALYTICS ANDROID#
The android project supports a Google service account, so you will need to get credential files using your Google service account, and allow ZEGOCLOUD Server to call the Firebase server API. Firebase console or via the Analytics In my firebase account, I create. Get a Firebase service account credential Check the following: Add FCM credentials on Admin Console Now, all you have left to do is go to the () to authorize the FCM. In this case, you have added the FCM push notification to your Android app project. After it is enabled, the notification channels of other vendors won't be available. Then, just start using your app to see your app’s events being logged in the DebugView report. ZpnsConfig.enableFCMPush(true) // Enable the Google push notification channel. Once you enable debug mode on your development devices, navigate to DebugView by selecting the arrow next to StreamView on the top nav of Google Analytics and selecting DebugView. ZPNsConfig zpnsConfig = new ZPNsConfig() And then, cal the setPushConfig method to set up a Google notification channel. implementation ':firebase-messaging:21.1.0'Īfter configuring the above, call the enableFCMPush method of the ZPNs SDK to enable the Google FCM push notification feature. In the module level adle file (path: / /adle), adding the Google notification dependencies. Add the dependencies for any other desired Firebase products When using the BoM, don't specify versions in Firebase dependencies 2- Run your app in release mode on a real device using the following commands as an examples: flutter run -release.
#FLUTTER FIREBASE ANALYTICS FOR ANDROID#
Add the dependency for the Firebase SDK for Google Analytics Firebase is not able to detect your crashes because you are running a debug build, so try the following: 1- Make sure you applied the mentioned steps for Android & iOS here.
#FLUTTER FIREBASE ANALYTICS FREE#
Its free to use, making it a great choice for startups or businesses with tight budgets. Thanks it works, just I had to terminate and restart the app as well. Its integration with other Firebase services makes it a convenient tool for your Flutter app. Installing the firebaseanalytics plugin for flutter as outlined in the link below resolved the issue. firebaseanalytics Flutter Package firebaseanalytics 10.4. Hope this could help if you are facing the same issue. But turn out it doesn't not work even I did all the checking. Notes: Preverious I have already checked the installation of google services, and also set allow debug view using adb shell. Implementation platform(':firebase-bom:29.3.1') Google Analytics for Firebase is a comprehensive app measurement solution that enables you to analyze app usage and user engagement. to connect my flutter app to the new firebase project. Launch the app with XCode for some reason when I was doing the first launch in VS Code, it didnt pick up that arguments. In the module level adle file (path: / /adle), add the Firebase-related dependencies.Īpply plugin: '-services' Add both command arguments -FIRDebugEnabled & -FIRAnalyticsDebugEnabled.Check that you have the following line (if not, add it):Ĭlasspath ':google-services:4.3.10' In the root level adle file (path: /adle), configure Google's Maven repository for adding Google dependencies.

Implementation steps Add the FCM push notification to the Android app
