AnalyticsHelper class Null safety
Helper for logging usage of core features and exceptions Logging:
- Errors and Problems (sentry)
- App start
- Product scan
- Product page open
- Knowledge panel open
- personalized ranking (without sharing the preferences)
- search
- external links
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
- latestSearch ↔ String
-
read / write
Static Methods
-
initMatomo(
dynamic context, bool screenshotMode) → void -
initSentry(
{dynamic appRunner()?}) → Future< void> -
setAnalyticsReports(
bool analyticsReports) → void -
setCrashReports(
bool crashReports) → void -
trackKnowledgePanelOpen(
{String? knowledgePanelName}) → Future< bool> -
trackOpenLink(
{required String url}) → Future< bool> -
trackPersonalizedRanking(
{required String title, required int products, required int goodProducts, required int badProducts, required int unknownProducts}) → Future< bool> -
trackProductPageOpen(
{required dynamic product}) → Future< bool> -
trackScannedProduct(
{required String barcode}) → Future< bool> -
trackSearch(
{required String search, String? searchCategory, int? searchCount}) → void -
trackStart(
dynamic localDatabase, dynamic context) → Future< bool>