vinod-kumar-sharma / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

mSocialAdapter.getCurrentProvider().getAccessGrant().getKey(); is always null #353

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
I am checking whether user is logged in or not in my first activity. If he is 
not, then direct him to login activity, if he logged in before, then to other 
activity. But, mSocialAdapter.getCurrentProvider().getAccessGrant().getKey(); 
is always null and direct him to login activty

What version of the product are you using? On what operating system?
socialauth-android-3.2.jar, socialauth-4.4.jar, Android 4.4.2

Please provide any additional information below.
I have include the java files.

Original issue reported on code.google.com by mathiazh...@gmail.com on 4 Jul 2014 at 1:30

Attachments:

GoogleCodeExporter commented 8 years ago
At first, mSocialAdapter.getCurrentProvider().getAccessGrant().getKey(); is 
always null and also Profile profileMap =  
MainActivity.adapter.getUserProfile(); is null

Original comment by mathiazh...@gmail.com on 4 Jul 2014 at 1:32

GoogleCodeExporter commented 8 years ago
Creating app in fb, appId, secret key and the oauth_consumer.properties, 
everything is properly used.

Original comment by mathiazh...@gmail.com on 4 Jul 2014 at 1:34

GoogleCodeExporter commented 8 years ago
Is there any other way to do my requirement(ie. checking logging status and 
make login or to other activity)

Original comment by mathiazh...@gmail.com on 4 Jul 2014 at 1:36

GoogleCodeExporter commented 8 years ago
did u find a solution to it?

Original comment by niss.fah...@gmail.com on 20 Apr 2015 at 7:29