Skip to content

Instantly share code, notes, and snippets.

@nataliaconde
Created June 16, 2021 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nataliaconde/53bf25394009715afaa9cc8832ad9e55 to your computer and use it in GitHub Desktop.
Save nataliaconde/53bf25394009715afaa9cc8832ad9e55 to your computer and use it in GitHub Desktop.
Incognia.swift
ICGIncognia.getInstallationId({ installationId in
if installationId != nil {
// NSURLRequest
request.setValue(
installationId,
forHTTPHeaderField: "Incognia-Installation-ID"
)
}
// Send the request with the installationId to your backend server
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment