How is the hashkey packed in the .apk file on build? Is it configurable?

I finally solved a problem I had been having for over a month with the haskey for Android. I created an Ionic 4 app and neither facebook nor google authentication was working. I figured it was a problem with the hashkey…the hashkey I was generating was different than what was packaged in my .apk file. My question is, how does the .apk file determine from where to pull in the hashkey that it will use for facebook and google authentication. the hashkey I was generating was in users/.android/ on my MAC. My .apk obviously wasn’t pulling the hashkey from that directory. Does anyone know how to configure from where the hashkey is received and packaged in the .apk?