alinz / react-native-tabbar

Tab bar with more freedom
MIT License
265 stars 49 forks source link

null is not an object (evaluating StatusBarIOS.setStyle) -> On Android #2

Closed BigPun86 closed 8 years ago

BigPun86 commented 8 years ago

I used this Tabbar perfectly on my iOS Version, but trying to use it for my Android App crashes. Does it only work on iOS? I saw that in the Readme it is mentioned that it would work technically on Android, did someone get it working?

Best Regards

alinz commented 8 years ago

@BigPun86 if you could send me the whole error that would help a lot. But based on what I see, inside your app, you are referring to StatusBarIOS. that module only exists in ios. I don't see it in my module. So double check your app and see where you are using StatusBarIOS.

BigPun86 commented 8 years ago

@alinz Okay thanks for the advice, i will trace it it and try to solve it. Here is my error output from the emulator:

screen shot 2015-10-20 at 09 39 37 screen shot 2015-10-20 at 09 39 53

alinz commented 8 years ago

This should be fixed by new released. Please try again with new module. Be warned that some of the api has been changed.