Firebase Database not Working after publishing app in play store

I publish my app on play store. But when I installed my app from play store firebase auth was not working. when I exported my apk and then tested my app, it was working.

Please solve this problem.

what auth are you using?