naoufal / react-native-touch-id

React Native authentication with the native Touch ID popup.
https://www.npmjs.com/package/react-native-touch-id
1.47k stars 476 forks source link

[Android] Fix dialog fingerprint image colors #224

Open albancreton opened 5 years ago

albancreton commented 5 years ago

Related to https://github.com/naoufal/react-native-touch-id/issues/175

I realized that changing the name of the resource from ic_fp_40px.png to fp_40px.png fixes the problem.

I'm pretty new to the Android world, but it seems like prefixing a drawable with ic_ will make it rendered as an icon I'm struggling to find anything about that on the android developer guide, but I think it is related to the Adaptive icons...

albancreton commented 5 years ago

Can any of the maintainers have a quick look into this ? Meanwhile, react-native-touch-id who experience that issue can add the renamed image to their own projects as well as the modified dialog xml file.

ghost commented 5 years ago

Hi, is that fixed? I have ugly blue circle without image in my alert window.

AliakseiDouhal commented 4 years ago

@zibs @naoufal @srulfi Guys can you merge this PR?

dattx-0602 commented 4 years ago

Hi @naoufal can u merge this PR :)

CoenWarmer commented 4 years ago

@zibs @naoufal @srulfi could you please merge this PR :)