asq-react-native-device
v1.2.2
Published
react native bridge to access device functionality, ported for ios
Downloads
22
Maintainers
Readme
React Native Device
React Native bridge to access device data.
Installation
Minimum Requirements
| react-native | iOS | | ------------ | :--: | | 0.50 | 10.3 |
NPM package
npm install asq-react-native-deviceGetting started
Add
node-modules/asq-react-native-device/ios/ASQDevice.xcodeprojto your LibrariesAdd
libASQDevice.aunder Link Binary With Libraries in Build PhasesAdd
$(SRCROOT)/../node_modules/asq-react-native-device/ios/ASQDeviceto your Header Search Paths in Build Settings
Usage - Device
import Device from "asq-react-native-device";Data.appID
Returns bundleID
Device.appID;