react native Device Credential Handler Theme not found code example

Example: react native Device Credential Handler Theme not found

in your style.xml define like thos
android/app/src/main/res/values/styles.xml

<style name="DeviceCredentialHandlerTheme" >
    <item name="colorAccent">@color/colorPrimary</item>
    <item name="android:textColorPrimary">@color/TextColor</item>
 </style>


@color/colorPrimary &  @color/TextColor

defines in 
android/app/src/main/res/values/colors.xml


like this example


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
  <color name="iconBackground">#FFFFFF</color>
  <color name="splashscreen_background">#F2F0F0</color>
  <color name="colorPrimary">#FEAC00</color>
  <color name="TextColor">#FFFF</color>
</resources>

Tags:

Misc Example