1.0.41 • Published 1 year ago

raptorx-react-native-sd v1.0.41

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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

1 year ago

1.0.41

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.26

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.19

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.10

1 year ago

1.0.2

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago