Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[ios] Telemetry logging - #3553

Closed
friedbunny wants to merge 0 commit into
masterfrom
telemetry-logging
Closed

friedbunny wants to merge 0 commit into
masterfrom
telemetry-logging

Conversation

@friedbunny

Copy link
Copy Markdown
Contributor

Adds telemetry logging to a local file (in the app bundle) and to the console.

SHOULD ONLY BE USED IN INTERNAL DEBUG OR TEST APPS, NEVER IN PRODUCTION

With that disclaimer out of the way:

  • Activate by setting NSUserDefaults MGLMapboxMetricsDebugLoggingEnabled
  • To catch all of the events, set this in the app delegate

Fixes #3155

/cc @1ec5 @bleege

@friedbunny friedbunny added iOS Mapbox Maps SDK for iOS telemetry Integration with Mapbox Telemetry libraries in progress labels Jan 14, 2016
@friedbunny friedbunny self-assigned this Jan 14, 2016
@friedbunny friedbunny added this to the ios-v3.1.0 milestone Jan 14, 2016
@tobrun

tobrun commented Jan 15, 2016

Copy link
Copy Markdown
Member

@friedbunny you need to rebase to pass the android test on Bitrise

Comment thread LICENSE.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The full text of the MIT license should be included in this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mrrrrrgh, legal is as legal does and no one reads these anyway, but the MIT license is included twice in this document already.

@friedbunny friedbunny added the ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold label Jan 16, 2016
Comment thread platform/ios/src/MGLMapboxEvents.m Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: You can avoid this ugly cast by using the bracketed message syntax: [mobileProvision[@"ProvisionedDevices"] count].

@1ec5

1ec5 commented Jan 19, 2016

Copy link
Copy Markdown
Contributor

Does this need to be on the 3.1.0 milestone? It shouldn’t affect shipping code anyways.

@friedbunny friedbunny added ✓ ready for review and removed ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels Jan 19, 2016
@friedbunny

Copy link
Copy Markdown
Contributor Author

Rebased and cleaned up! @1ec5 I'd like to get this in v3.1.0, but it's not a huuuUUUuuuge priority, certainly.

@friedbunny friedbunny changed the title [ios] Telemetry logging (WIP) [ios] Telemetry logging Jan 19, 2016
@tobrun

tobrun commented Jan 20, 2016

Copy link
Copy Markdown
Member

@1ec5, there was a problem with a proguard configuration at that time and thus breaking the build. (unrelated to release of 3.1.0 or the branch)

@friedbunny

Copy link
Copy Markdown
Contributor Author

Squashed and rebased.

@1ec5

1ec5 commented Jan 20, 2016

Copy link
Copy Markdown
Contributor

👍

@friedbunny friedbunny closed this Jan 20, 2016
@jfirebaugh jfirebaugh removed the ready label Jan 20, 2016
@friedbunny
friedbunny deleted the telemetry-logging branch January 20, 2016 23:59
@friedbunny

Copy link
Copy Markdown
Contributor Author

Merged this as 4a3addd and f9c9ee9. Pushed to master before force-pushing this branch, which confused Github. 👻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

iOS Mapbox Maps SDK for iOS telemetry Integration with Mapbox Telemetry libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants