Skip to content

Conversation

@rosen-vladimirov
Copy link
Contributor

Merge release in master

yyosifov and others added 13 commits May 23, 2017 18:43
* Fix UserId passing to Analytics Service

* Add changelog for 3.0.2
When switching between release, debug and bundle builds, the android
build artifacts should be cleaned.

fixes NativeScript/android#759
* Updated md files for the debug command.

* In Debug docs changed verbs to agreed form and added prerequisites for Android command
Changing it with a link to the forums.
* Update CHANGELOG.md and bump version

* Update date
Fix analytics, so we'll no longer track information for users, who have not allowed us to do so. There are several problems:
* Whenever the terminal is not interactive and we do not know if user allows us to track them, we set the value of TrackExceptions to true. Also we immediately send information to Analytics that we've set the value to true. So all CI builds are tracked as new users, as we start a session for them and send the value of TrackExceptions (enabled).
* `setStatus` method almost always sends data to Analytics. This method should not send information. It does not care if we have allowed to be tracked - it always sends data. Remove this logic.
* `tns usage-reporting <value>` and `tns error-reporting <values>` always send information to Analytics - in fact the commands are calling "setStatus", that's why they send information. In order to track them, use the "trackFeature" method which will track information ONLY when user had allowed this.
* Fix `getStatus` method which had incorrect behavior - the if has been using the values of the enum (0,1,2) and we were getting in the body of the if statement in a very inaccurate cases.
* Remove unit tests for `setStatus` and add new ones for checkConsent logic.
@rosen-vladimirov rosen-vladimirov merged commit c3af7fb into master Jun 2, 2017
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/merge-rel-master branch June 2, 2017 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants