I'm trying to login via twitter in Android with the Gigya sdk 3.3.0, I have set up the twitter app correctly and everything goes well up to the point when I enter my credentials in the twitter web site and I get redirected to https://socialize.gigya.com/GS/GSLogin.aspx?mt=....
The site just hangs in there and I never get to log in. Has anybody experienced the same situation before?
The Facebook login works just fine, so I don't really think any code would be helpful in this question, I was just wondering if anyone got any clue on what might be happening.
I found out what was going on with my app. All my accounts set up was ok , the problem was that I missed the following method:
@Override
public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
if (GSAPI.getInstance().handleAndroidPermissionsResult(requestCode, permissions, grantResults))
return;
// handle other permissions result here
}
That method is only available if your activity extends from BaseFragmentActivityHoneycomb which is only available in the latest support library (com.android.support:support-v4:23.1.1) I was using v22 and Fragmentactivity extends from a different class, therefore I was unable to override the method.