I want to allow user to be logged in into app based on devices only. Like if user have username and password and he logged in with one device then he could not log into another device unless Admin's permission.
I can go with following things but that is also not usefull in my case,
- Vendor IDs :
Erased with removal of the last app for that Team ID.
- Advertising IDs :
That is unique to the device but Reset with “Erase All Content & Settings”. Also apple would reject it if I am not using iAd.
- Keychain :
I can use keychain to store device Id like password but that will also change once the provisioning profile get changed.
Note: I want user's to be access the app only for the device which admin has given permission. Like once user logged in with one device for next time onward he/she should not logged in with another device without Admin's permission.