Integrating HMS Analytics Kit to Flutter Projects and Sending Events. Huawei Analytics Kit. Configuration in AppGallery Connect. How to Generate SHA-256 Fingerprint? Integrate HMS to Your Project. Add Signing Configuration. TO-DOs in Project-level Build.gradle. TO-DOs in App-level Build.gradle.
In this article, I am going to create a Flutter project — actually a tiny game — and explain how to implement Analytics Kit. But first, let me inform you about Huawei Analytics Kit a little.
Huawei Analytics Kit offers you a range of analytics models that help you not only to analyze users’ behavior with preset and custom events but also to gain insight into your products and contents. So that you can improve your skills in marketing your apps and optimizing your products.
HUAWEI Analytics Kit identifies users and collects statistics on users by an anonymous application identifier (AAID). The AAID is reset in the following scenarios:
1) Uninstall or reinstall the app.
2) The user clears the app data.
After the AAID is reset, the user will be counted as a new user.
HUAWEI Analytics Kit supports event management. For each event, a maximum of 25 parameters; for each app maximum of 100 parameters can be defined.
There are 3 types of events: Automatically collected, predefined, and custom.
Automatically collected events are collected from the moment you enable the kit in your code. Event IDs are already reserved by HUAWEI Analytics Kit and cannot be reused.
*Predefined events *include their own Event IDs which are predefined by the HMS Core Analytics SDK based on common application scenarios. The ID of a custom event cannot be the same as a predefined event’s ID. If so, you will create a predefined event instead of a custom event.
Custom events are the events that you can create for your own requirements.
Firstly, you will need a Huawei developer account. If you don’t have one, click here and register. It will be activated in 1–2 days.
After signing in to AppGallery Connect, you can add a new project or select an existing project. In the project you choose, add an app. While adding an app, make sure you enter the package name right. It should be the same as your Flutter project’s package name.
Also, make sure you set data storage location, enable Analytics kit, and add SHA-256 fingerprint to AppGallery Connect.
Android projects with source code - Work on real-time android projects. We’ll start project ideas from beginners level and later move to advance projects.
Hello World, today we are going to see how we can implement a dark theme or night mode in our android application. This tutorial is going to be very simple and easy to understand. The dark theme is attractive to users and it is comfortable for low light conditions.
Hello World, today we are going to make a custom switch. Why? Because the default one looks so boring and ugly. Why we use a switch? As the name suggests, the switch is used to trigger the value either it is on, or it is off. Let's see, how our custom switch will look at the end of the tutorial.
Ask-a-Geek! developer Brenton House shows us how to add a Star Wars intro to your iOS and Android apps! If you are in a hurry, you can jump to the solution where I provide the source code for a working Titanium app for both iOS and Android, but I encourage you to look at some of the explanations below to help understand what the code is doing.
Providing customized solutions for Mobile Apps Development, Websites, UI / UX Designing across various industries with the latest tools and technology.