revenuecat

Installation
SKILL.md

Introduction

  • RevenueCat lets users monetize their native mobile apps on Replit.
  • The RevenueCat integration is only intended to be used for the Expo/mobile stack on Replit.
  • If the stack used is not Expo/mobile, do not use RevenueCat, and instead suggest the Stripe integration.
  • The package used in the React Native client code is react-native-purchases. Always download the version that is compatible with the version of React Native/Expo used in the app.

Prerequisites

  1. These packages must be installed:

    • react-native-purchases - Official client-side SDK for React Native. This should be used on the client. This MUST be installed inside the target mobile workspace package, not in the root of the monorepo
    • @replit/revenuecat-sdk - SDK for RevenueCat's REST API. This should NEVER be used on the client, only for server-side scripts. This MUST be installed in the root of the workspace

    If they are not installed, use pnpm to install them. Installing to monorepo root: $ cd /home/runner/workspace && pnpm add -w <packages> Installing to workspace package: $ cd /home/runner/workspace/:package_path && pnpm add <packages>

Installs
4
GitHub Stars
18
First Seen
6 days ago