If there is some sdk (let's assume facebook here) that is implemented in multiple apps.
Now facebook asks a login one time from the user (the first time user uses fcbk app/sk on device). Once logged in, if any app (in same device) tries to access the sdk again, it does not ask user to login again (but just the permissions).
How does Facebook/Google know that user is already logged in that device once? Do they store Mac address of device. Do they have some universal sharedprefs? Do they have db/file on local sdcard.
I want to create similar functionality for my app. Any help would be awesome.