Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26005] Windows: Provide API to support opt-out of Analytics at runtime

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2018-05-23T23:56:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.2.0
ComponentsWindows
Labelsn/a
ReporterEric Merriman
AssigneeKota Iguchi
Created2018-05-01T21:38:21.000+0000
Updated2018-06-05T20:05:07.000+0000

Description

We must provide an API for developers to allow end-users to opt-out of analytics.

Comments

  1. Kota Iguchi 2018-05-17

    master: https://github.com/appcelerator/titanium_mobile_windows/pull/1238 7_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1239
  2. Kota Iguchi 2018-05-18

    Updated the API, should be good for review again now.
  3. Samir Mohammed 2018-05-29

    [~kiguchi] i am able to verify using SDK Version 7.2.0.v20180528150435 but with SDK Version 7.3.0.v20180529084649 I get the following error when trying to opt out:
       -- Start application log -----------------------------------------------------
       [ERROR] :  ----- Titanium Javascript Runtime Error -----
       [ERROR] :  Message: Uncaught Error: Runtime Error: Ti.Analytics.setOptedOut is not a function. (In 'Ti.Analytics.setOptedOut(true)', 'Ti.Analytics.setOptedOut' is undefined)
       
    Test case can be found in: https://github.com/appcelerator/titanium_mobile_windows/pull/1238 Looks like it could be a Jenkins issue (Windows - Master)
  4. Samir Mohammed 2018-05-30

    Verified feature on Master SDK version 7.3.0.v20180530072516 as well. *Test and other information can be found at:* master: https://github.com/appcelerator/titanium_mobile_windows/pull/1238 7_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1239
  5. Samir Mohammed 2018-06-05

    Closing ticket, additional testing can found at https://wiki.appcelerator.org/display/qe/GDPR+Analytics+testing

JSON Source