Key attestation and app’s integrity check in iOS.

a. Validating app instance connecting to server .

b. Assessing and limiting the fraud risk.

High level Apple service->app ->sever communication
challenge = <# A string from your server #>
let request = [ "action": "getGameLevel", "levelId": "1234", "challenge": challenge ]guard let clientData = try? JSONEncoder().encode(request) else { return }let clientDataHash = Data(SHA256.hash(data: clientData))

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store