How to get selected tag and value based on Device Id from firebase

Set project bucket to ex-loginapplcall tinydb device ID

Call Firebase tag value pass
Value is not found empty text string

When Firebase got value
If tag = pass
Then if get value =empty string
Then (which means user logged in with device ID)
Else (user is logged in with different device id

But keep in mind, device id won’t work for greater android version.. lower end devices only it will work fine . In such case use get Uuid using this extension