jgkim / react-native-status-bar-size

Watch and respond to changes in the iOS status bar height
https://www.npmjs.com/package/react-native-status-bar-size
125 stars 33 forks source link

added try catch to avoid crash when included in android project #8

Closed aronallen closed 8 years ago

aronallen commented 8 years ago

Hi when including this in an android project it shouldn't throw an error, this is a quick fix, what do you think about it?

hollanderbart commented 8 years ago

@brentvatne Can you please accept this PR?