Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking for used Debug tools is not correct #3593

Closed
rosen-vladimirov opened this issue May 17, 2018 · 0 comments
Closed

Tracking for used Debug tools is not correct #3593

rosen-vladimirov opened this issue May 17, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Yes

Tell us about the problem

The Analytics tracking is not correct - it tracks Inspector when Chrome is used.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.1
  • Cross-platform modules: Not applicable
  • Runtime(s): Not applicable
  • Plugin(s): Not applicable

Please tell us how to recreate the issue in as much detail as possible.

On macOS try debugging your application with tns debug ios --log trace. In the output find the following message:

Will send the following information to Google Analytics: { type: 'googleAnalyticsData',
  category: 'CLI',
  googleAnalyticsDataType: 'event',
  action: 'Debug',
  label: 'iOS_Simulator_11.3_Inspector',
  customDimensions: { cd2: 'Pure JavaScript', cd5: 'CLI' } }

NOTE: The label might be different, but it will end with Inspector. In fact it should end with Chrome.

The correct label should be:

  1. ..._Inspector when tns debug ios --inspector --log trace is used
  2. ..._Chrome when tns debug ios --log trace is used
  3. ..._Chrome when tns debug ios --chrome --log trace is used

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants