Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20215] Android: KS/Platform/XHR/cookies returns 404

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2019-10-02T18:25:15.000+0000
Affected Version/sRelease 5.1.2
Fix Version/sn/a
ComponentsAndroid
Labelsqe-5.1.2
ReporterLokesh Choudhary
AssigneeUnknown
Created2016-01-08T23:43:37.000+0000
Updated2019-10-02T18:25:15.000+0000

Description

This is not a regression.

Steps To Reproduce:

1. In KS go to platform/xhr/cookies test. 2. Enter the details for the google account. 3. Click on "Test Login Cookie".

Actual Results:

1. We get a "404 Not found" error.
[ERROR] :  TiHTTPClient: (TiHttpClient-2) [13438,78469] HTTP Error (java.io.IOException): 404 : Not Found
[ERROR] :  TiHTTPClient: java.io.IOException: 404 : Not Found
[ERROR] :  TiHTTPClient: 	at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1223)
[ERROR] :  TiHTTPClient: 	at java.lang.Thread.run(Thread.java:818)
[INFO] :   Error: 404 : Not Found
This can be because client login is depricated & removed : https://developers.google.com/identity/protocols/AuthForInstalledApps

Expected results:

1. We should get success & the details of the login cookie.

Comments

  1. Ashraf Abu 2016-01-11

    As mentioned in the link provided:- Important: ClientLogin has been officially deprecated since April 20, 2012 and is now no longer available. The code related to In platform/xhr/cookies test should be removed.
  2. Alan Hutton 2019-10-02

    Closing per comments above.

JSON Source