What is the use of Facebook Android Key hash for sample apps?

154 views Asked by At

I wanted to understand the use of Facebook Android Key hash for sample apps ? What is the relevance of setting the hash ? The thing that is confusing me is that I was able to run the sample apps without setting up the hash in developer settings also.

Some clarification would be of great help.

1

There are 1 answers

5
Ming Li On

The sample apps key hash allows you to build the sample apps that ship with the SDK on your machine, using your debug key, and still do things like login and share using the native dialogs. If you didn't set that, then you won't be able to do things like SSO login using the Facebook app.