0

I'm creating an app which collects data (Weight, age, gender). I'm going to add an InstanceID (or generate some kind of ID which identifies users device). DeviceID will be shown for the user in the app.

  • What happens when user deletes the app?
  • If user has deleted the app and still asks me to show the data what app has collected how can I do that, if the user doesn't know his deviceId?

Thanks.

user2698762
  • 1
  • 1
  • 3

1 Answers1

0

Firebase authentication sets an ID for that authenticated user, so even if the user deletes the app and then uses the app again by same email Id authentication , then the UID that FirebaseInstance would return would be the same. So to sum it up, the UID for an user is linked to the authentication (email id) and not with the device.

  • Ok I understand, is it possible to NOT use emails but only Device Instance ID or some sort? – user2698762 Mar 06 '19 at 11:10
  • Firebase allows authentication through an email(also Google/Facebook/Github Sign in) .I'm afraid there's no such way that you are interjecting and if you want to do something like that then you will not be able to retrieve the data once you uninstall.However, you could just generate a random UID for a device without using an email. – Aditya Dhanraj Saha Mar 06 '19 at 15:06
  • Do you know if I'm still eligible to provide the data if the user have removed the app and forgot the id? Can he / she take some legal action? – user2698762 Mar 06 '19 at 18:24