react-native-modal-android
The component has the same API as on iOS - http://facebook.github.io/react-native/docs/modal.html#content The animated prop is not implemented yet. I just wrap that PR code which will ship with react-native The origin author is satya164 @ https://github.com/satya164
Installation
npm install react-native-modal-android --save
Add it to your android project
- In
android/setting.gradle
...include ':react-native-modal-android', ':app'project(':react-native-modal-android').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-modal-android')
- In
android/app/build.gradle
...dependencies { ... compile project(':react-native-modal-android')}
- Register Module (in MainActivity.java)
// <--- import
More info here: https://github.com/facebook/react-native/pull/5320
License
MIT