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
iOS SDKv3

Multiple AppIDs support

Was this page helpful?
Previous

Integration with React Native

Next
Built with

v3.0

The SDK has support for multiple AppIDs. If your app communicates with multiple servers which have different AppIDs you should make sure that the correct HTTP headers are sent to each server.

You can configure multiple AppIDs for the HUMAN SDK, by calling the PerimeterX/start(appIds:delegate:policy:) function with all your AppIDs.

When using multiple AppIDs, you should:

  1. Specify the relevant AppID anytime you call functions in the SDK, when this parameter is available.
  2. Set the domain list in the policy for each AppID. Here is an example:
1policy.set(domains: ["my-domain-1.com"], forAppId: "<APP_ID_1>")
2policy.set(domains: ["my-domain-2.com"], forAppId: "<APP_ID_2>")