asq-react-native-device
v1.2.2
Published
react native bridge to access device functionality, ported for ios
Downloads
23
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-device
Getting started
Add
node-modules/asq-react-native-device/ios/ASQDevice.xcodeproj
to your LibrariesAdd
libASQDevice.a
under Link Binary With Libraries in Build PhasesAdd
$(SRCROOT)/../node_modules/asq-react-native-device/ios/ASQDevice
to your Header Search Paths in Build Settings
Usage - Device
import Device from "asq-react-native-device";
Data.appID
Returns bundleID
Device.appID;