For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
    • Overview
  • Mobile SDK (for Android, iOS, and visionOS)
    • Android changelog
    • iOS, iPadOs, & visionOS changelog
    • Expo changelog
    • React Native Wrapper changelog
  • iOS SDK
    • What's New
      • How to integrate the SDK in your application
      • How to verify the integration in your app with the SDK
      • Manual integration
      • Handle block responses from the server
      • How to retry requests that were blocked
      • Hybrid App support
      • Enable support for Account Defender
      • Multiple AppIDs support
      • Integration with React Native
      • Integration with Flutter
      • Integration with Ionic
      • Integration with gRPC
      • Migrating SDK from v2 to v3
    • How to test your app with the SDK
  • Android SDK
    • What's New
    • How to test your app with the SDK
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • v3.0
  • What is Hybrid App
  • How to enable Hybrid App support
iOS SDKv3

Hybrid App support

Was this page helpful?
Previous

Enable support for Account Defender

Next
Built with

v3.0

What is Hybrid App

An Hybrid App uses both native URL requests and web views to communicate with your server. In the context of HUMAN, it’s important to make sure both native requests and web views are synced together to make sure end users will get the expected behavior from your app.

How to enable Hybrid App support

To enable hybrid app support, you should enable it and set your domains in the policy for the relevant AppID. Here is an example:

1policy.hybridAppSupportEnabled = true
2policy.set(domains: ["my-domain.com"], forAppId: "<APP_ID>")
Apple Pay on the web

If your app using Apple Pay on the Web you should disable JavaScript evaluation by the SDK. In order to protect the security of Apple Pay transactions in WKWebView, Apple Pay cannot be used alongside of script injection APIs. You can do this by setting the policy. Here is an example:

1policy.allowJavaScriptEvaluation = false