[TIMOB-17233] Android: Analytics - Analytics are still being sent if you change the base URL to a non-supported endpoint
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-28T03:23:11.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 3.3.0, Release 3.4.0 |
Components | Android |
Labels | module_analytics, qe-3.3.0, qe-manualtest |
Reporter | Wilson Luu |
Assignee | Allen Yeung |
Created | 2014-06-27T17:51:26.000+0000 |
Updated | 2014-08-07T20:10:12.000+0000 |
Description
*Details:* Analytics are still being sent if you change the base URL to a non-supported endpoint e.g. https://www.google.com/
*Note:* Was *not* able to reproduce the issue on iOS i.e. if I change the base URL to a non-supported endpoint, then analytics payload are not sent.
*Steps to reproduce:*
1. Import bob.zip into Eclipse; this project already has
<meta-data android:name="APSAnalyticsBaseURL" android:value="https://www.google.com/"/>
in the manifest file and is the default Android project
2. Install app onto device that is pointing to staging
3. Go to staging and verify payloads with the guid 40060543-0d1b-4738-bcf7-20002a932a50
*Actual:* Analytic events are still being sent (see payload.txt attachment).
*Expected:* Analytic events should not be sent.
master: https://github.com/appcelerator/titanium_mobile/pull/5863 3_3_X: https://github.com/appcelerator/titanium_mobile/pull/5864
You can add the following to your tiapp.xml:
Verified the fix. Changing the base URL to a non supported endpoint does not send any analytics event. Closing. Environment: Appc Studio : 3.3.0.201407031747 Ti SDK : 3.3.0.v20140708132513 Mac OSX : 10.8.5 Alloy : 1.4.0-rc4 CLI - 3.3.0-rc4 Code Processor: 1.1.1 Nexus 5 - android 4.4