[TIMOB-20215] Android: KS/Platform/XHR/cookies returns 404
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2019-10-02T18:25:15.000+0000 |
| Affected Version/s | Release 5.1.2 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | qe-5.1.2 |
| Reporter | Lokesh Choudhary |
| Assignee | Unknown |
| Created | 2016-01-08T23:43:37.000+0000 |
| Updated | 2019-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
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 Inplatform/xhr/cookies testshould be removed.Closing per comments above.