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

Navigation Bar Color Change Not Reflecting on All Android Devices #65

Open Christo100 opened 1 week ago

Christo100 commented 1 week ago

Description

If SystemNavigationBar.setNavigationColor('#DCDC02', 'light', 'both') is not working on all devices, Is it due to Android version differences, manufacturer-specific UI customizations, or gesture navigation settings.

react-native-system-navigation-bar version

^2.6.4

React Native version

0.74.5

Snack, code example, screenshot, or link to a repository

useEffect(() => { const initBarColor = async () => { if (Platform.OS === 'android') { try { await SystemNavigationBar.setNavigationColor('#DCDC02', 'light', 'both') } catch (error) { console.log({ error }) } } } initBarColor() }, [])

AlixH commented 23 hours ago

Samsung is not working for me