UNPKG

get-app-info

Version:

A simple React Native utility to get app platform, version, version code, app name, and bundle identifier.

33 lines (23 loc) 512 B
# get-app-info A simple React Native utility to get: - Platform (Android/iOS) - App Name - App Version - App Version Code - Bundle ID After Installing, Run: npm install get-app-info react-native-device-info ## 🔧 Installation npm install get-app-info import getAppInfo from 'get-app-info'; (async () => { const info = await getAppInfo(); console.log(info); })(); ## output { "platform": "android", "appName": "MyApp", "appVersion": "1.2.3", "appVersionCode": "12", "bundleId": "com.mycompany.myapp" }