Closed
Description
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:
..._Inspector
whentns debug ios --inspector --log trace
is used..._Chrome
whentns debug ios --log trace
is used..._Chrome
whentns 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