1.0.41 • Published 15 days ago
raptorx-react-native-sd v1.0.41
raptorx-react-native-sd
Library for handling device information, keyboard events, and touch events in React Native.
Installation
Install the package using npm:
npm install raptorx-react-native-sd
yarn add raptorx-react-native-sd
import { getDeviceInfo } from 'raptorx-react-native-sd';
const fetchDeviceInfo = async () => {
try {
const deviceInfo = await getDeviceInfo();
console.log(deviceInfo);
} catch (error) {
console.error('Error retrieving device information:', error);
}
};
import { captureKeyboardEvents } from 'raptorx-react-native-sd';
const keyboardEventListener = captureKeyboardEvents((eventName, event) => {
console.log(`${eventName} event captured:`, event);
});
// To stop listening to keyboard events, call the returned cleanup function
// keyboardEventListener();
import { captureTouchEvents } from 'raptorx-react-native-sd';
const touchEventListener = captureTouchEvents((eventName, event) => {
console.log(`${eventName} event captured:`, event);
});
This documentation provides installation instructions, usage examples, and a brief overview of the package's features. Make sure to include additional information or examples if your package has more functionality or configuration options. Additionally, adjust the documentation based on any updates or changes you make to your package in the future.
1.0.40
15 days ago
1.0.41
15 days ago
1.0.39
16 days ago
1.0.38
16 days ago
1.0.37
16 days ago
1.0.36
18 days ago
1.0.35
22 days ago
1.0.34
24 days ago
1.0.33
24 days ago
1.0.32
24 days ago
1.0.31
25 days ago
1.0.30
25 days ago
1.0.26
26 days ago
1.0.29
26 days ago
1.0.28
26 days ago
1.0.27
26 days ago
1.0.19
28 days ago
1.0.22
28 days ago
1.0.21
28 days ago
1.0.20
28 days ago
1.0.25
27 days ago
1.0.24
28 days ago
1.0.23
28 days ago
1.0.18
29 days ago
1.0.17
29 days ago
1.0.16
29 days ago
1.0.15
29 days ago
1.0.14
1 month ago
1.0.13
1 month ago
1.0.12
1 month ago
1.0.11
1 month ago
1.0.9
1 month ago
1.0.8
1 month ago
1.0.7
1 month ago
1.0.6
1 month ago
1.0.10
1 month ago
1.0.2
1 month ago
1.0.5
1 month ago
1.0.4
1 month ago
1.0.3
1 month ago
1.0.1
1 month ago
1.0.0
1 month ago