Hi guys,
From last few days, I'm following all your suggestions. Unfortunately none of them works. But this time I figure out why not working any thing.
As soon as, I'm sign in through Google account data is loaded first but on making another request, I'm getting FirebaseAuth exception that is
FirebaseAuth: Notifying auth state listeners about a sign-out event.
FirebaseAuth: notifying id token listeners about a sign-out event.
And after this debug message it get signed out and that's why I'm getting PERMISSION_DENIED: Missing or insufficient permissions.
I don't know why automatically logged out after first data load. I go through my entire codebase to see if at any point I'm calling logout, and there is no logout kind of method I'm calling. I also stopped logout method from the entire application to debug this issue. But I'm not able to figure out how to get rid of this bug.
If anyone go through similar issue please help me.
Thanks