Skip to content

About

FixPrompt React Native SDK — captures errors, console output, and offline-buffers events

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

@fixprompt/react-native

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.

Install

npm install github:Geos-LLC/fixprompt-react-native \
            @react-native-async-storage/async-storage

The prepare script auto-builds dist/ on install — no separate build step required.

Use

// 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.

About

FixPrompt React Native SDK — captures errors, console output, and offline-buffers events

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages