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
| Subpath | Target |
|---|---|
. | ./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.