i am working in flutter app, I want each user to create only one account through his device That is, banning the device from creating other accounts for two days After two days, the user can create another account only, and so on,
in my case : save device id or token and date Time in firebase and before create account app check if this device was registered or not if registered check time , this way is right ?
and how can i get device id or any constant number from device ?
thanks