OptiView Ads SDK for React Native
    Preparing search index...

    Interface InterceptorPolicy

    Policy for manifest interceptor round-trips over the bridge.

    Interceptors run on the JS thread, so a native manifest fetch must await an async JS round-trip. The round-trip is bounded and fail-open: if the JS side does not answer within timeoutMs (or throws), the unmodified request/response proceeds and a DA-MANIFEST-* diagnostic is recorded — interception is never allowed to stall or break playback (and the JS thread may legitimately be paused, e.g. in PiP).

    interface InterceptorPolicy {
        timeoutMs?: number;
    }
    Index
    timeoutMs?: number

    Maximum time the native side waits for the JS interceptor. Default 2000 ms.