i'am trying to made cordova application that need user login to (google + or Facebook)
so i show button for sign in to (google+ or Facebook) but after i close the app and open it again i need the sign in button hide depending on last signed in account
i need to know how i can check if user signed after closing my application?
ie check if user subscribe with data login to my app or no?
You can check this when your application gets loaded in
You can check facebook javascript api here and google javascript api here It depends upon how you want your application to work. I am attaching working sample which i created for Facebook for GooglePlus hope this helps.!