patapata_firebase_analytics

Last updated:

0 purchases

patapata_firebase_analytics Image
patapata_firebase_analytics Images
Add to Cart

Description:

patapata firebase analytics

Patapata - Firebase Analytics

Add support for Firebase Analytics to your Patapata app.



About #
This package is a plugin for Patapata that adds support for Firebase Analytics to your Patapata app.
It will automatically log analytics events to Firebase Analytics from Patapata's Analytics system.
This plugin requires the patapata_firebase_core plugin to be installed and activated.

Due to a bug in the FlutterFire CLI, the stable version of 0.2.7 (at the time of writing this README) does not write out the required paramaters to run firebase_analytics correctly.
A temporary workaround is to use the dev version of the cli and run flutterfire configure again.
https://github.com/invertase/flutterfire_cli/issues/210#issuecomment-1770505141
The above still might not be enough in some cases.
If you are still having issues, try the following:

Add classpath 'com.google.gms:google-services:4.3.14' to android/build.gradle. Make sure the version is exactly that.
Add apply plugin: 'com.google.gms.google-services' to android/app/build.gradle at the bottom of the file.

Getting started #

Add the dependency to your pubspec.yaml file

flutter pub add patapata_firebase_analytics
copied to clipboard

Import the package

import 'package:patapata_firebase_analytics/patapata_firebase_analytics.dart';
copied to clipboard

Activate the plugin

void main() {
App(
environment: const Environment(),
plugins: [
FirebaseCorePlugin(),
FirebaseAnalyticsPlugin(),
],
)
.run();
}
copied to clipboard
Contributing #
Check out the CONTRIBUTING guide to get started.
License #
See the LICENSE file

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.