1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

Tracked a few events in the main app.

This commit is contained in:
Kyle Spearrin
2016-08-04 00:32:37 -04:00
parent 561c972c96
commit 7ba4baa5ce
4 changed files with 17 additions and 3 deletions

View File

@@ -16,12 +16,14 @@ namespace Bit.App.Pages
private ICryptoService _cryptoService;
private IUserDialogs _userDialogs;
private IAccountsApiRepository _accountsApiRepository;
private IGoogleAnalyticsService _googleAnalyticsService;
public RegisterPage()
{
_cryptoService = Resolver.Resolve<ICryptoService>();
_userDialogs = Resolver.Resolve<IUserDialogs>();
_accountsApiRepository = Resolver.Resolve<IAccountsApiRepository>();
_googleAnalyticsService = Resolver.Resolve<IGoogleAnalyticsService>();
Init();
}
@@ -183,6 +185,7 @@ namespace Bit.App.Pages
}
_userDialogs.Toast("Your new account has been created! You may now log in.");
_googleAnalyticsService.TrackAppEvent("Registered");
await Navigation.PopModalAsync();
}