@appdna-ai/react-native-sdk
v1.0.6
Published
AppDNA SDK for React Native — analytics, experiments, paywalls, surveys, and more.
Maintainers
Readme
AppDNA SDK for React Native
The official React Native SDK for AppDNA — the growth console for subscription apps.
⚠️ Proprietary software. A Commercial Agreement with AppDNA AI, Inc. is required to use this SDK. See LICENSE and NOTICE.md.
Migrating from MIT-licensed v1.0.1 or earlier? See DEPRECATION_NOTICE.md. MIT versions stop receiving server support after 15 May 2026.
What it does
AppDNA gives you a single drop-in SDK for the growth surfaces every subscription app needs, on both iOS and Android from one TypeScript codebase:
- Analytics & events — track user behavior with batched, offline-resilient delivery.
- Experiments & feature flags — server-driven A/B tests with deterministic variant assignment.
- Paywalls — render console-designed paywall layouts with native StoreKit 2 / Google Play Billing.
- Onboarding flows — multi-step onboarding with form inputs, async hooks, conditional branching, and rich media.
- Surveys & feedback — NPS, CSAT, free text, multi-choice with scheduling and frequency caps.
- In-app messages — modal, banner, fullscreen messages with audience targeting.
- Push notifications — rich content, action buttons, deep links, and delivery analytics.
- Web entitlements & deep links — server-validated entitlements and deferred deep linking.
Requirements
- React Native 0.72+
- React 18.0+
- iOS 16.0+ (when targeting iOS)
- Android API 24+ (when targeting Android)
Installation
npm install github:appdna-ai/appdna-sdk-react-native#v1.0.5
# or
yarn add github:appdna-ai/appdna-sdk-react-native#v1.0.5For iOS, also run:
cd ios && pod installQuick start
import { AppDNA } from '@appdna-ai/react-native-sdk';
await AppDNA.configure('YOUR_API_KEY');Track an event:
await AppDNA.track('subscription_viewed', { plan_id: 'premium_monthly' });Identify a user (after sign-in):
await AppDNA.identify('user-123', { plan: 'premium' });Present a paywall:
const result = await AppDNA.presentPaywall({ id: 'default' });
switch (result.status) {
case 'purchased':
console.log('Purchased');
break;
case 'dismissed':
console.log('Dismissed');
break;
case 'failed':
console.error('Failed:', result.error);
break;
}Documentation
Full integration guide, configuration reference, and API docs at docs.appdna.ai/sdks/react-native.
Support
- Technical questions: [email protected]
- Sales / commercial: [email protected]
- Licensing: [email protected]
License
⚠️ The AppDNA SDK is proprietary software, not open source. This repository is publicly visible for marketing, evaluation, and reference purposes only.
You may NOT download, install, run, modify, or use the SDK without a Commercial Agreement with AppDNA AI, Inc. See LICENSE and NOTICE.md for the full terms.
You MAY view the source on GitHub and read the documentation at https://docs.appdna.ai for evaluation purposes.
To use the SDK in your application, sign up at https://appdna.ai (self-serve) or contact [email protected] (enterprise).
Existing customers: your Terms of Service or Statement of Work governs your use of the SDK.
Versions before v1.0.2 were distributed under the MIT License — see DEPRECATION_NOTICE.md for the migration timeline (deadline: 15 May 2026).
© 2026 AppDNA AI, Inc. All rights reserved. "AppDNA" and the AppDNA logo are trademarks of AppDNA AI, Inc.
