Intermediate: How to Integrate Huawei Analytics kit in Flutter (Cross platform)

  • Collect and report custom events.
  • Set a maximum of 25 user attributes.
  • Automate event collection and session calculation.
  • Pre-set event IDs and parameters.
  1. Create flutter project
  • Make sure that downloaded plugin is added in specified directory.
  • Makes sure that agconnect-services.json file added.
  • Make sure dependencies are added yaml file.
  • Run flutter pug get after adding dependencies.
  • Enable debug mode using following command adb shell setprop debug.huawei.hms.analytics.app package_name
  • Generating SHA-256 certificate fingerprint in android studio and configure in Ag-connect.

--

--

--

Technical Lead

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Make a simple RecyclerView in Android with Kotlin

Make search super easy with Huawei Site Kit Search Activity in Flutter

Comparing ready-made solutions for implementing the MVI architecture on Android

Using Remote Config In Android App

Hacking & Securing “Insecure Shop” — Hidden Credentials

Create Your First Flutter App

How to implement Splash Screen Activity in Android Studio Using JAVA

Hacking & Securing “Insecure Shop” — Unprotected web views

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shiddalingeshwar M S

Shiddalingeshwar M S

Technical Lead

More from Medium

internal error in Cloud Firestore. SOLVED

sqlite_wrapper — a new flutter library to work with SQLite

Flutter: Enable Web support for an existing app

Flutter coding with Riverpod [State Management]