Reputation: 15
All
I am working on an app where i m storing DeviceIdentifier in keychain(thanks to deprecated method in ios6 to fetch unique identifier all the time)for later use to identify that it is a allowed device to use app.
i am storing it in keychain , what i want to achieve is if device is in recovery mode or if someone restoring a backup i want to send request to the server to deactivate this device identifier which is stored in keychain, before keychain get deleted.
is it achievable or any other suggestion?
Upvotes: 1
Views: 148
Reputation: 63
whenever the server communicates with the device, check if the device identifier exists in the keychain, if not, then send a call back to server asking to deactivate the device identifier from the server.
Upvotes: 0