I am programming an app that users will log-in to firebase anonymously,each login generate UUID , but I knew that UUID will change when the user clear the app cache or reinstall the app. how can I apply roles to each logged in user anonymously(PS: Users will never Login with user:password or Facebook just anonymously).
Since the security will be as follow:
"root.child('users').child(auth.uid).child('paid').val() === true",
".write":
"root.child('users').child(auth.uid).child('paid').val() === true"
can I use other then auth.uid that i can link it to the anonymous user?
Thank you