WT 1.1.14 tutorial step track
This commit is contained in:
parent
9066ccd607
commit
e20ec5c222
@ -388,7 +388,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 6;
|
CURRENT_PROJECT_VERSION = 7;
|
||||||
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
@ -531,7 +531,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 6;
|
CURRENT_PROJECT_VERSION = 7;
|
||||||
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
@ -566,7 +566,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 6;
|
CURRENT_PROJECT_VERSION = 7;
|
||||||
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
DEVELOPMENT_TEAM = SFJJBDCU6Z;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
@ -139,6 +139,7 @@ class LoginBloc extends Bloc<LoginEvent, LoginState> with Trans {
|
|||||||
yield LoginReady();
|
yield LoginReady();
|
||||||
} else if (event is LoginSkip) {
|
} else if (event is LoginSkip) {
|
||||||
yield LoginLoading();
|
yield LoginLoading();
|
||||||
|
Track().track(TrackingEvent.login_skip);
|
||||||
Cache().startPage = "home";
|
Cache().startPage = "home";
|
||||||
yield LoginSkipped();
|
yield LoginSkipped();
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,8 @@ import 'package:aitrainer_app/model/cache.dart';
|
|||||||
import 'package:aitrainer_app/model/tutorial.dart';
|
import 'package:aitrainer_app/model/tutorial.dart';
|
||||||
import 'package:aitrainer_app/model/tutorial_step.dart';
|
import 'package:aitrainer_app/model/tutorial_step.dart';
|
||||||
import 'package:aitrainer_app/service/logging.dart';
|
import 'package:aitrainer_app/service/logging.dart';
|
||||||
|
import 'package:aitrainer_app/util/enums.dart';
|
||||||
|
import 'package:aitrainer_app/util/track.dart';
|
||||||
import 'package:bloc/bloc.dart';
|
import 'package:bloc/bloc.dart';
|
||||||
import 'package:equatable/equatable.dart';
|
import 'package:equatable/equatable.dart';
|
||||||
|
|
||||||
@ -170,6 +172,7 @@ class TutorialBloc extends Bloc<TutorialEvent, TutorialState> with Logging {
|
|||||||
if (menuBloc != null) {
|
if (menuBloc != null) {
|
||||||
menuBloc!.add(MenuCreate());
|
menuBloc!.add(MenuCreate());
|
||||||
}
|
}
|
||||||
|
Track().track(TrackingEvent.tutorial_step, eventValue: step.toString());
|
||||||
yield TutorialReady();
|
yield TutorialReady();
|
||||||
}
|
}
|
||||||
} else if (event is TutorialWrongAction) {
|
} else if (event is TutorialWrongAction) {
|
||||||
@ -189,6 +192,7 @@ class TutorialBloc extends Bloc<TutorialEvent, TutorialState> with Logging {
|
|||||||
if (activityDone != null) {
|
if (activityDone != null) {
|
||||||
await Cache().setActivityDonePrefs(activityDone);
|
await Cache().setActivityDonePrefs(activityDone);
|
||||||
}
|
}
|
||||||
|
Track().track(TrackingEvent.tutorial_finished);
|
||||||
yield TutorialReady();
|
yield TutorialReady();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ enum TrackingEvent {
|
|||||||
login,
|
login,
|
||||||
logout,
|
logout,
|
||||||
registration,
|
registration,
|
||||||
|
login_skip,
|
||||||
home,
|
home,
|
||||||
sizes,
|
sizes,
|
||||||
sizes_save,
|
sizes_save,
|
||||||
@ -44,6 +45,8 @@ enum TrackingEvent {
|
|||||||
settings_server,
|
settings_server,
|
||||||
test_set_edit,
|
test_set_edit,
|
||||||
test_set_new,
|
test_set_new,
|
||||||
|
tutorial_step,
|
||||||
|
tutorial_finished
|
||||||
}
|
}
|
||||||
|
|
||||||
T enumFromString<T>(Iterable<T> values, String value) {
|
T enumFromString<T>(Iterable<T> values, String value) {
|
||||||
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.1.14+73
|
version: 1.1.14+74
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user