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
265 stars 19 forks source link

Cannot call function. Possible Unhandled Promise Rejection (id: 0): TypeError: Cannot read property 'navigationHide' of null ? #44

Closed cas8398 closed 1 year ago

cas8398 commented 1 year ago

Capture_2023_03_28_22_16_25_209 Capture_2023_03_28_22_16_59_170 SDK 33 Windows 10, React Native 0.70.3

Can you help me?

kadiraydinli commented 1 year ago

Hi @cas8398, after installing the package, can you run the code below and try again?

cd android && ./gradlew clean && cd ..
cas8398 commented 1 year ago

it work, thanks 🙏

RemyCTRZ commented 1 year ago

Hi, I'm using Expo with React Native to build an app and I have the same problem, I can't try the above command because I don't have any android folder in my app image

kadiraydinli commented 1 year ago

Hi @RemyCTRZ, In expo, I suggest you use the navigation-bar package developed by expo instead of this package.