From 81213d8aa973f10e6dc7b21d71224e7d33474130 Mon Sep 17 00:00:00 2001 From: Bhavan Date: Thu, 15 Mar 2018 18:39:07 +0530 Subject: [PATCH] v1.0.2 --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 2cab9c1..f0aeedc 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,9 @@ module.exports = { } }, setStatusBarColor: (color, animation) => { - return StatusBar.setBackgroundColor(color, animation); + if (Platform.OS == 'android') { + return StatusBar.setBackgroundColor(color, animation); + } }, setStatusBarTheme: (theme, animation) => { if (theme == 'light') {