1.0.8 • Published 1 year ago

react-native-android-real-height v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

react-native-android-real-height

Getting started

$ npm install react-native-android-real-height --save

Mostly automatic installation

$ react-native link react-native-android-real-height

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.ranna.arh.RNAndroidRealHeightPackage; to the imports at the top of the file
  • Add new RNAndroidRealHeightPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-android-real-height'
    project(':react-native-android-real-height').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-android-real-height/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-android-real-height')

Usage

import RNAndroidRealHeight from 'react-native-android-real-height';

// TODO: What to do with the module?
RNAndroidRealHeight;
1.0.8

1 year ago

1.0.7

2 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago