kadiraydinli / react-native-system-navigation-bar

React Native lets you customize the navigation bar for Android.
https://www.npmjs.com/package/react-native-system-navigation-bar
MIT License
270 stars 19 forks source link

error #14

Closed demayaa closed 2 years ago

demayaa commented 2 years ago

[Unhandled promise rejection: TypeError: null is not an object (evaluating 'NavigationBar.fullScreen')] i'm use expo

enestatli commented 2 years ago

@demayaa is your project expo manage?

shye0000 commented 2 years ago

Im having the same issue, and yeah, my project is in expo managed flow

enestatli commented 2 years ago

@shye0000 this is a native module, you have to eject from expo managed workflow to use.
More detail: https://docs.expo.dev/introduction/managed-vs-bare/

With the managed workflow you only write JavaScript / TypeScript and Expo tools and services take care of everything else for you.

There is an expo package for this maybe you can use expo-navigation-bar

shye0000 commented 2 years ago

@shye0000 this is a native module, you have to eject from expo managed workflow to use. More detail: https://docs.expo.dev/introduction/managed-vs-bare/

With the managed workflow you only write JavaScript / TypeScript and Expo tools and services take care of everything else for you.

There is an expo package for this maybe you can use expo-navigation-bar

Okay got it, thank you!

kadiraydinli commented 2 years ago

I am closing this issue because the issue has been resolved. If your problem persists, feel free to open it again. Thanks for the reply. @enestatli