You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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()
}, [])
The text was updated successfully, but these errors were encountered: