npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@recurly/engage-react-native

v3.0.0

Published

React Native SDK for Recurly Engage

Readme

How to build and run

The @recurly/engage-react-native library is created from the npx create-react-native-library tool. It generates the example folder for mobile devices.

The example-tv is created from the npx create-expo-app [project name] -e with-tv tool.

Content

  1. Recurly Engage SDK part 1: business logics; platform/device agnostic package engage-core
  2. Recurly Engage SDK part 2: platform/device package engage-react-native
  3. Example app: React Native Expo based example app example

Setup react native environment

React native reference here

Tips:

  1. Make sure Xcode command line tools are installed
sudo xcode-select -p # should be /Applications/Xcode.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer # set to correct one
sudo xcodebuild -license # accept license

Build and run

  1. Install libraries using Yarn(npm should work too)
yarn install

If you are building the example-tv (for TV devices) app for the first time

yarn tv:prebuild
  1. Build the Recurly Engage SDK
yarn build
  1. Run the example app
# Run the mobile example app
yarn example

# or, run the Android TV example app
yarn tv:android

# or, run the tvOS example app
yarn tv:tvos

Installation

The SDK is published on the public npm registry — no authentication token required.

npm install @recurly/engage-core @recurly/engage-react-native
# or
yarn add @recurly/engage-core @recurly/engage-react-native

Launch example-tv app in a physical Apple TV

  1. make sure expo is installed globally. if not
npm install -g expo
  1. go to the example-tv folder, and start metro. You should see something like Metro waiting on exp://...:8081 in the terminal
npx expo start
  1. open the xcode with the project files from the example-tv/ios/exampletv folder
  2. from xcode, make sure the signing provisioning profile is correct
  3. from xcode, run the app toward your physical device
  4. then in your terminal, you will see the javascript is built and ready to use

Common Errors

  1. can't load app in an iOS simulator

error from expo, Xcode must be fully installed before you can continue. Continue to the App Store. make sure you have xcode and an iOS simulator running. then if it still doesn't work, run sudo xcode-select -switch /Applications/Xcode.app to instruct expo the Xcode location

  1. android TV emulator failed to call the ping api

don't know the exact reason. you just need to delete the emulator and create a new one