The react native compatible version of the JS SDK can be installed with npm or yarn:
npm install amplitude-js@react-native-beta
yarn install amplitude-js@react-native-beta
Then amplitude can be imported `import amplitude from 'amplitude-js'`. From there, the SDK is pretty much identical to our regular JS SDK.
- Device IDs are randomly generated and not based on idfv/adid
- Devices types are not identified unless you use the native module React Native Device Info and set the option `useNativeDeviceInfo` to `true` when initializing the SDK.