React Native plugin for Strata 3D - cross-platform input, device detection, and haptics for mobile games
npm install @strata-game-library/react-native-plugin

React Native plugin for Strata 3D - cross-platform input, device detection, and haptics for mobile games.
Full documentation is available at strata.game/mobile/react-native
---
Strata is the Games & Procedural division of the jbcom enterprise. This plugin is part of a coherent suite of specialized tools, sharing a unified design system and interconnected with sibling organizations like Agentic and Extended Data.
- Device Detection - Identify device type, platform, and performance capabilities
- Input Handling - Unified touch input handling with StrataInputProvider
- Haptic Feedback - Cross-platform vibration with intensity control
- Safe Area Insets - Native safe area detection for notches
- Orientation - Get and set screen orientation
- Performance Mode - Detect low power mode and hardware levels
``bash`
npm install @strata/react-native-plugin
cd ios && pod install
`tsx
import { useDevice, useInput, useHaptics } from '@strata/react-native-plugin';
function Game() {
const device = useDevice();
const input = useInput();
const { trigger } = useHaptics();
return (
);
}
``
- Strata Documentation - Full documentation
- Strata Core - Main library
- Capacitor Plugin - Capacitor version
MIT © Jon Bogaty