Can't receive Twitter login button callbacks


#1

twitterBtn.setCallback(new Callback() {
@Override
public void success(Result result) {
twitterLogin(result);
}

@Override
public void failure(TwitterException exception) {
    Log.i("TwitterException2", exception.toString());
    loginProgress.setVisibility(View.INVISIBLE);
}

});

In onActivityResult method i have
twitterBtn.onActivityResult(requestCode, resultCode, data);

in ICS i cant receive callbacks but in Lollipop its working fyn


#2

Logs when i run in through my phone (Lollipop):
07-17 01:44:42.845 29491-29491/ D/Twitter: Converting the request token to an access token.
07-17 01:44:43.707 29491-29491/ D/Twitter: onActivityResult called with 140 -1
07-17 01:44:43.708 29491-29491/ D/Twitter: Authorization completed successfully

But when running through Tab (ICS):
07-17 01:47:19.891 14085-14116/ D/Twitter: Custom SSL pinning enabled
07-17 01:47:24.986 14085-14085/ D/Twitter: Using OAuth
07-17 01:47:25.098 14085-14085/ D/Twitter: Obtaining request token to start the sign in flow
07-17 01:47:27.054 14085-14085/ D/Twitter: Redirecting user to web view to complete authorization flow
07-17 01:47:28.423 14252-14268/:background_crash D/Twitter: Custom SSL pinning enabled
07-17 01:47:33.620 14085-14085/ D/Twitter: OAuth web view completed successfully
07-17 01:47:33.621 14085-14085/ D/Twitter: Converting the request token to an access token.

And no logs after that …
Need Urgent Help
Thanks