Skip to content

Commit

Permalink
Merge pull request #247 from auth0/bugfix-telemetry-for-webviews
Browse files Browse the repository at this point in the history
Send telemetry for webviews
  • Loading branch information
hzalaz committed Mar 31, 2016
2 parents 56f12a4 + 934a15f commit 28c3b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lock/WebView/A0WebKitViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ - (instancetype)initWithAPIClient:(A0APIClient * __nonnull)client
self = [self init];
if (self) {
_authentication = [[A0WebAuthentication alloc] initWithClientId:client.clientId domainURL:client.baseURL connectionName:connectionName];
[_authentication setTelemetryInfo:[client telemetryInfo]];
_authorizeURL = [_authentication authorizeURLWithParameters:[parameters asAPIPayload]];
_connectionName = connectionName;
_client = client;
Expand Down
1 change: 1 addition & 0 deletions Lock/WebView/A0WebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ - (instancetype)initWithAPIClient:(A0APIClient * __nonnull)client
self = [self init];
if (self) {
_authentication = [[A0WebAuthentication alloc] initWithClientId:client.clientId domainURL:client.baseURL connectionName:connectionName];
[_authentication setTelemetryInfo:[client telemetryInfo]];
_authorizeURL = [_authentication authorizeURLWithParameters:[parameters asAPIPayload]];
_connectionName = connectionName;
_client = client;
Expand Down

0 comments on commit 28c3b39

Please sign in to comment.