Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.
But make sure you just switched firebase to production mode.
In my case, the firebase was in development mode and the data is available public!
edit: just realized you may have just been asking about hiding keys in general. Sorry if this wasn't what you were asking about!
I was just confused at this part because permission & rules are the solution as far as I know. Thanks for the reply though :) I'm prettry sure now that exposing keys are no problem.
https://developer.android.com/training/articles/keystore.htm...
However, you would need the plain key to authenticate against the database so using this wouldn't work.