1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 15:23:35 +00:00

More GA event tracking throughout. Added dispatch when ios app is backgrounded.

This commit is contained in:
Kyle Spearrin
2016-08-04 19:35:56 -04:00
parent dd633d4fc1
commit 7c29f8b77a
13 changed files with 106 additions and 14 deletions

View File

@@ -62,9 +62,12 @@ namespace Bit.iOS.Core.Services
_tracker.Send(dict);
}
public void Dispatch()
public void Dispatch(Action completionHandler = null)
{
Gai.SharedInstance.Dispatch();
Gai.SharedInstance.Dispatch((result) =>
{
completionHandler?.Invoke();
});
}
private void SetUserId()