diff --git a/README.md b/README.md index e71db75..f382b76 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ A react native component, easy, fully customizable, implementing the 'sw ## Example Check [index.js](https://github.com/maxs15/react-native-modalbox/blob/master/Example/index.ios.js) in the Example folder. +## Version note +| react-native | react-native-modalbox | +| :------------ |:---------------:| +| <= 0.57 | <= 1.6.0 | +| >= 0.58 | >= 1.6.1 | + ## Properties | Prop | Default | Type | Description | diff --git a/index.js b/index.js index deea38c..5259831 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,6 @@ var { TouchableWithoutFeedback, Dimensions, Easing, - BackAndroid, BackHandler, Platform, Modal, @@ -19,7 +18,7 @@ var { var createReactClass = require('create-react-class'); -var BackButton = BackHandler || BackAndroid; +var BackButton = BackHandler; var screen = Dimensions.get('window'); diff --git a/package.json b/package.json index d15645e..7695a82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-modalbox", - "version": "1.6.0", + "version": "1.6.1", "description": "A component for react-native", "main": "index.js", "scripts": {