[AC-479] Ti.Gigya Module (Android): Not able to login multiple times on Android 5.0 and up
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-05T16:31:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Wouter Versluijs |
Assignee | Jebun Naher |
Created | 2015-10-26T15:18:25.000+0000 |
Updated | 2015-11-18T04:51:14.000+0000 |
Description
This issue is regarding the following Titanium module: https://github.com/appcelerator-modules/ti.gigya.
When using this module to login to Facebook, Twitter, Google Plus or Instagram it seems to work fine when doing it for the first time when calling gigya.login (clean install of the app). But when i logout and try to login again I get the following error:
{
"errorCode": 400006,
"errorMessage": "",
"method": "login"
}
// Information on the gigya docs about this errorcode:
// One of the parameters of this request has been set with a value which is not within the parameter's defined value bounds. Please refer to the method's parameter table, and check the definition of valid values per parameter.
// The error message will include the name of the specific parameter.
the request i'm using is:
gigya.login({
params: {
provider: provider
},
success: gigyaLoginSuccessHandler,
error: gigyaLoginFailureHandler
});
in the documentation there isn't any information on what other params are needed. And on Android versions prior to 5 (lollipop) and iOS the login works fine.
Any help is appreciated!
Hello, We tested this issue in our environment but couldn't reproduce it. [Screenshot](http://postimg.org/image/djc00hqe5/) *Testing Environment:* Appcelerator Command-Line Interface, version 5.0.2 Titanium SDK Version - 5.0.2.GA Device - Nexus 7 Appcelerator Studio, build- 4.3.1.201509302304 Mac OS X - 10.10.1 module id - ti.gigya-android *Console Log:*
Thanks.