I’ve just been following this tutorial, and almost like any other, doesn’t really explain how to generate the keyhash. Fortunately, I managed to generate one and using the “release-signing.properties” file in “platforms\android” I’ve managed to get it to output a android-release.apk. Then, with the hash key that was generated, I copied and pasted it into my Facebook App “Key Hashes” textbox and saved it.
In the command prompt (I’m using Windows) I did… “ionic run android --release” which compiled a release copy of the app and installed it on my phone for testing. It works fine but for some reason, the facebook authentication says “Key hash xxxxxxxxxxx= does not match any stored key hashes” which displays a completely different Key Hash in the error message than the one I generated my self.