'How to save user preferences without logging user in flutter app

I am working on a flutter app that requires some user data to be saved on server side. But I don't want user to log in using username/password or any social account.

Is there a way in flutter to identify the user/device without explicit login ?

There seems to be a anonymous login using Firebase but I am looking for a generic solution without any specific backend. I am using Django as my backend.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source