From 6b26d6c5b96136999a4b957208ad9fbe57ef0620 Mon Sep 17 00:00:00 2001 From: bhavanpatel Date: Thu, 14 Sep 2017 17:36:52 +0530 Subject: [PATCH 1/3] Component Unmount Error in iOS --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f39859f..ae344f5 100644 --- a/index.js +++ b/index.js @@ -36,8 +36,10 @@ class Tabs extends Component { } componentWillUnmount(){ - this.keyboardDidShowListener.remove(); - this.keyboardDidHideListener.remove(); + if (Platform.OS==='android') { + this.keyboardDidShowListener.remove(); + this.keyboardDidHideListener.remove(); + } } keyboardWillShow = (e) => { From f22b94229e3a28fa87f6f0e17a0695fdf57da2b8 Mon Sep 17 00:00:00 2001 From: Bhavan Patel Date: Mon, 25 Sep 2017 14:34:37 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 00c55fe..999dd52 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +## [SOLVED]Component Unmount Error in iOS + # react-native-tabs React Native platform-independent tabs. Could be used for bottom tab bars as well as sectioned views (with tab buttons) From 7e9e59e2d9082dee5e73dfd0fd3b8e06f2733357 Mon Sep 17 00:00:00 2001 From: Bhavan Patel Date: Tue, 17 Oct 2017 09:51:21 +0530 Subject: [PATCH 3/3] Set theme jekyll-theme-minimal --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..2f7efbe --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-minimal \ No newline at end of file