How to check if user is banned

I’ve made an app that signs in using firebase
I made the app automaticly sign in using TinyDB
however I don’t know how to check if the account is banned or not?
Please help

You can do it by firebase tag can be named as “Status” when user register store some value in this tag. And when user login again get value from this tag, if the tag is equal to “banned” then close screen or show banned notification.

Thanks, I’m gonna try it out

Try it and if you have any problem then search or ask here.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.