npm.io
1.5.0 • Published 4 years ago

react-native-get-app-name

Licence
MIT
Version
1.5.0
Deps
0
Size
85 kB
Vulns
0
Weekly
0

react-native-get-app-name

Super lightweight library with few to none peer dependencies to get the app name thorugh native calls.

Getting started

$ npm install react-native-get-app-name --save

Mostly automatic installation

If you are under RN .60 run below command - otherwise skip this.
$ react-native link react-native-get-app-name

Usage

import GetAppName from 'react-native-get-app-name';

GetAppName.getAppName((appName) => {
   console.log("Here is your app name:", appName)      
})