Twitter SDK requestCode

I am logging in using Twitter: https://dev.twitter.com/twitter-kit/android/twitter-login

Uses onActivityResultfor its callback. This is normal, but it onActivityResultis multi-purpose, and everyone usually distinguishes it with the help requestCode.

However, I can not find anywhere in the SDK how to distinguish this Twitter requestCode. Most libraries provide an enumeration or a final static number or something else!

Does anyone know where in the Twitter SDK I can find a link to this requestCode? I would really appreciate any help.

thank

+4
source share
1 answer

I asked this question to Twitter itself, because everyone was watching:

https://twittercommunity.com/t/android-twitter-requestcode-in-onactivityresult/38592/2?u=solo4solo

:

if(requestCode == TwitterAuthConfig.DEFAULT_AUTH_REQUEST_CODE){
+14

All Articles