A heads up. We have found that in it's current instantiation if you are publishing anything that uses react-native-inappbrowser in your a react native app with the following rules (below) in your app build.gradle, then the browser Options relating to colour on the customtab do not get parsed. i.e. the colour of the browser customtab stays default.
A heads up. We have found that in it's current instantiation if you are publishing anything that uses
react-native-inappbrowser
in your a react native app with the following rules (below) in your appbuild.gradle
, then the browser Options relating to colour on the customtab do not get parsed. i.e. the colour of the browser customtab stays default.EG: if you have this block in your release
then the colour options such as
the colour '#00FF00' will work in dev, but be ignored when you release the app as proguard will whittle it
the solution is to alter the
proguard-rules.pro
file to state the followingWhich platform(s) does your issue occur on?