Search code examples
iosxcodensuserdefaultsuuidudid

Delete user from server if they delete app


Is it possible to delete a user from a server if they delete your app from their phone?

I am using UUID to create users so they do not have to register but I do not want users to delete the app then rejoin and have a new uuid while the old one is still in the database.

Are there any alternatives to using UUID to avoid registering. Apparently UDID which would have been ideal has been deprecated for IOS 6 and upwards.

Please help, thanks in advance.


Solution

  • Alternatively, You can create a service in App that ping server once a day. if any device didnt respond from long time then delete it from database.