Standalone install mirror for Geos-LLC/FixPrompt react-native-sdk/.
The canonical source lives in the FixPrompt monorepo. This repo exists so customers can npm install the package directly from git without needing access to the monorepo's other subdirectories. Once @fixprompt/react-native is published to the npm registry, this repo becomes vestigial — prefer the registry.
npm install github:Geos-LLC/fixprompt-react-native \
@react-native-async-storage/async-storageThe prepare script auto-builds dist/ on install — no separate build step required.
// App.tsx — call once before any render
import { initFixPrompt } from '@fixprompt/react-native';
initFixPrompt({
projectKey: process.env.EXPO_PUBLIC_FIXPROMPT_KEY!,
source: process.env.EXPO_PUBLIC_FIXPROMPT_SOURCE!,
service: 'my-app',
app: 'my-app',
env: __DEV__ ? 'dev' : 'prod',
});For the full API (captureException, setUser, offline buffer, captureTags), and the native-crash recipe via react-native-exception-handler, see the monorepo README.