Guides
GuidesLog In
Guides

React Native

This guide describes how to add and use Apphud SDK to your React Native app

Installation

React Native Apphud SDK can be installed via npm:

$ npm install @apphud/react-native-apphud-sdk

📘

Note

In case you have issues with pod dependencies add use_modular_headers! to Podfile.

Usage

import ApphudSdk from "@apphud/react-native-apphud-sdk"

Troubleshooting

If build fails with error Undefined symbol: __swift_FORCE_LOAD_$_swiftWebKit, check the following:
In Build Phases tab add libswiftWebKit.tbd to Link Binary with Libraries.


👍

App Release Checklist

To minimize the risk of mistakes during setup and avoid the need for app resubmission, please read the App Release Checklist carefully.


What’s Next

Learn how to initialize SDK and manage purchases