react-native-app-info-ios
v1.0.6
Published
Мост для получения данных из Info.plist
Downloads
2
Readme
react-native-app-info-ios
Getting started
$ npm install react-native-app-info-ios --save
Mostly automatic installation
$ react-native link react-native-app-info-ios
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-app-info-ios
and addRNAppInfoIos.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNAppInfoIos.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNAppInfoIos from 'react-native-app-info-ios';
RNAppInfoIos.getData((info) => {
console.log('App Info Plist Object: ', info);
console.log('App Info Plist. Short Version: ', info['CFBundleShortVersionString']);
});