1.0.6 • Published 6 years ago

react-native-app-info-ios v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-app-info-ios and add RNAppInfoIos.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNAppInfoIos.a to your project's Build PhasesLink Binary With Libraries
  4. 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']);
});