ios- Get unique identifier which should have to be same after reinstalling of the app

ios- Get unique identifier which should have to be same after reinstalling of the app

I have a use case that I want to bind the user with a particular device id. So that purpose I need a unique device identifier.

I have a use case that I want to bind the user with a particular device id. So that purpose I need a unique device identifier.

When I search for this issue I found some solutions like

  • Creating an UUID but it gets changed each time when I uninstall the app and reinstall.
  • Creating a UUID Storing id in User Defaults or KeyChain but latest version of iOS removes KeyChain and UserDefaults on uninstall of the app.
  • Getting a mac id is also deprecated they always return one mock value MAC address 02:00:00:00:00:00.

So my question is it possible to read any unique identifier? If yes then how can I read it either with swift or objective-c?

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

How to use Objective C Cocoapods in Swift Framework

My swift framework has dependency of Objective C Framework. How do I use that ?

A guide to Object Detection with OpenCV and Swift

In this article, we’ll see how to create and launch a object detection algorithm using OpenCV and Swift

Passing a Swift protocol to an Objective-C pointer

<em>Using XCode 10.1 / Swift 4.2.</em>