Skip to main content
Complete reference for all classes, methods, types, and events in the @appdna-ai/react-native-sdk package.

AppDNA Class

The primary interface for the SDK. All methods are static and return Promise unless otherwise noted.

Core Methods

setLogLevel is the only synchronous method on the AppDNA class. All other methods return Promises and should be awaited.

Config Methods

Experiment Methods

Push Methods (Static)

Presentation Methods

Web Entitlement Methods

Module Namespaces

The AppDNA class exposes the following module namespaces as properties:

Delegate Interfaces

AppDNAPushDelegate

AppDNABillingDelegate

AppDNAOnboardingDelegate

AppDNAPaywallDelegate

AppDNARemoteConfigDelegate

AppDNAInAppMessagesDelegate

AppDNASurveysDelegate


TypeScript Types

AppDNAEnvironment

AppDNALogLevel

AppDNABillingProvider

AppDNAOptions

PaywallContext

OnboardingContext

WebEntitlement

PushPayload

Entitlement

PurchaseResult

ProductInfo


NativeEventEmitter Events

The SDK emits the following events through React Native’s NativeEventEmitter. These are bridged automatically by the delegate interfaces and listener methods — you typically do not need to subscribe to them directly.

Core Events

Push Events

Billing Events

Onboarding Events

Paywall Events

In-App Message Events

Survey Events

Web Entitlement Events

Experiment Events