Skip to content

Commit ef9b154

Browse files
authored
Merge pull request #262 from hyochan/master
Remove `BackAndroid`
2 parents ee06d52 + 6ab2025 commit ef9b154

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ A react native <Modal> component, easy, fully customizable, implementing the 'sw
1616
## Example
1717
Check [index.js](https://github.com/maxs15/react-native-modalbox/blob/master/Example/index.ios.js) in the Example folder.
1818

19+
## Version note
20+
| react-native | react-native-modalbox |
21+
| :------------ |:---------------:|
22+
| <= 0.57 | <= 1.6.0 |
23+
| >= 0.58 | >= 1.6.1 |
24+
1925
## Properties
2026

2127
| Prop | Default | Type | Description |

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ var {
1010
TouchableWithoutFeedback,
1111
Dimensions,
1212
Easing,
13-
BackAndroid,
1413
BackHandler,
1514
Platform,
1615
Modal,
@@ -19,7 +18,7 @@ var {
1918

2019
var createReactClass = require('create-react-class');
2120

22-
var BackButton = BackHandler || BackAndroid;
21+
var BackButton = BackHandler;
2322

2423
var screen = Dimensions.get('window');
2524

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-modalbox",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "A <Modal/> component for react-native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)