by hyperthreading · 7y ago · 0 comments
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.