Do we also need to refresh JWT token for connecting to device check apis as we do for APNs in "not more than 20 minutes and not less than 60 minutes"?
Does generated new token makes old token immediately invalid?
And can we create multiple keys for device check, all to be valid together?
Last does error 429 (Too many requests) is for the total server requests in given time or number of queries for a particular device token, please give some estimate?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
We see appAttest (available iOS 14+) provides us 3 key features: if app instance is not modified, device is genuine apple device and payload is not tempered with.
We also have deviceCheck Api (iOS 11+) which return 2 bits per device, as mentioned in documentation we can create different payloads for validation and different for updating the 2 bits. Apart from returning those bits in validation request, does this DeviceCheck APIs also validate 2 of the 3 above features i.e. app is not modified and the device is genuine apple device?
If yes, what response from apple server to look for in successful validation of above 2 features and what response to look for in fraud cases or failure cases?
Does isSupported in case of DCDevice.current hints the device is a simulator ? Can we get exhaustive list of cases where isSupported is false?
Does DCDevice.current.generateToken fails only in case of modified app instance? Can we get exhaustive list of cases where above can throw error? Can modified app instance also able to generateToken?