8 min read

Testing and debugging

Validate lifecycle, ads, rewards, devices, and runtime errors.

Local development

Outside the D3 host, init resolves with initialized: false and ad inventory may be unavailable; your game must continue normally.

  1. 1.Check the console for SDK_WARNING.
  2. 2.Test duplicate lifecycle calls.
  3. 3.Simulate unavailable, dismissed, timeout, and success results.
  4. 4.Test keyboard, pointer, touch, resize, mute, focus, and visibility.

Preview checklist

  1. 1.Confirm all assets load from the preview endpoint.
  2. 2.Confirm gameplayStart follows player input.
  3. 3.Confirm the game pauses behind ad UI.
  4. 4.Confirm reward is impossible unless granted is true.
  5. 5.Review analytics events and runtime errors after testing.