Skip to content
Docs

Command palette

Jump to a page or search the docs.

Changelog

ads

Optional native advertising: responsibilities, supported exports and extension points.

Markdown

Purpose

The package registers a native ads module and exposes banner, interstitial and rewarded interfaces. Without a registered module it behaves as unavailable. Configuration, initialization and tracking permission remain explicit.

Public exports

SubpathTarget
../src/index.ts

These paths come from packages/ads/package.json. A . entry is the package root. Conditional targets distinguish platform or type resolution; consumers should import the subpath, not its source file.

How to extend

Install a compatible native SDK and register its loader in mobile startup before enabling ads. Rebuild the development client after native changes. Check availability and permission outcomes; do not make an ad prerequisite for unrelated navigation.

Read the optional native advertising guide for the full flow.

Key files

Edit on GitHubDocumentation is in English.

We use essential cookies to make our app work. With your consent, we also use optional cookies to improve your experience. Read our Cookie Policy and Privacy Policy.