febaisi / react-native-get-app-name

react-native-get-app-name -> Native module to get the app name through native code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)      
})

About

react-native-get-app-name -> Native module to get the app name through native code


Languages

Language:Java 40.3%Language:Objective-C 25.8%Language:JavaScript 15.4%Language:Starlark 9.8%Language:Ruby 8.8%