JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 211
  • Score
    100M100P100Q105952F
  • License MIT

React Native SDK for Mushi Mushi — shake-to-report, bottom sheet widget, full context capture

Package Exports

  • @mushi-mushi/react-native

Readme

@mushi-mushi/react-native

React Native SDK for Mushi Mushi. Shake-to-report, bottom sheet widget, offline queue.

Usage

import { MushiProvider } from '@mushi-mushi/react-native'

export default function App() {
  return (
    <MushiProvider projectId="proj_xxx" apiKey="mushi_xxx">
      <Navigation />
    </MushiProvider>
  )
}

Hooks

import { useMushi, useMushiReport } from '@mushi-mushi/react-native'

const { submitReport } = useMushiReport()

Captures

  • Device info (platform, OS, screen dimensions)
  • Console logs (monkey-patched)
  • Network requests (fetch/XMLHttpRequest interceptor)
  • Navigation events (React Navigation integration, optional)
  • Offline queue via AsyncStorage

Peer Dependencies

  • react >= 18
  • react-native >= 0.72
  • @react-navigation/native >= 6 (optional)
  • @react-native-async-storage/async-storage >= 1.19 (optional)

License

MIT