thebylito / react-native-navigation-bar-color

React Native component to change bottom bar/navigation bar color on Android
MIT License
269 stars 49 forks source link

fix reading of root project properties #50

Closed plaa closed 1 year ago

plaa commented 3 years ago

In build.gradle rootProject.ext.hasProperty is used to check whether the root project has defined specific properties. Unfortunately rootProject.ext.hasProperty always returns null.

This PR fixes them to use rootProject.ext.has as documented in ExtraPropertiesExtension.

This has caused Detox builds to start failing after upgrading to RN 0.64.

fmorau commented 1 year ago

@thebylito let's merge it

gregmarut commented 1 year ago

@thebylito Could we get this merged?