-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Missing fingerprint image #175
Comments
I tried playing around with the Porter-Duff modes on the color filter with varying degrees of success, I could never get it to look like the screenshots in #163 |
It's because of the following line in your code: |
@didrikkvanvik I don't believe that's how it's supposed to work, judging from the screenshots in #163. The result with your approach is: @srulfi Is that correct? |
I experience the same issue, where i'm not able to display the fingerprint image as displayed in #163. If the config object has no Do you have any idea's as to why this is happening @zibs? |
@Aidurber @didrikkvanvik hey guys, sorry for the delayed feedback, I totally missed the first tag from last week. I have to say this issue you describe is quite odd. First off, I can't reproduce it. I'm using the library on an ongoing project, had pretty much the same build.gradle configuration listed above and just in case updated the values to match it but I'm still seeing the blue fingerprint png (since I'm not overriding the default color in the config object).
So, if both image and reference did not change how come you get a different image? This is the odd part of the issue but from what I can figure it is essentially the issue. You get a blue plain circle because the image the library seems to be manipulating is not the simple .png anymore but this other one. Another thing to note is that you can see this image as the default one in many devices (had to google it), probably linked to the latest biometrics API/OS version. So, taking this into account I'm wondering if the system is somehow getting in the way, although I really don't see how. The first thing I would do is double check both image and xml reference you have in your local repo, and I think sharing device and android version info would help too. I tested this on my simulator on the following devices: Nexus 5X and Pixel 2, both Android 9 API 28. |
I experience the same issue, it was fine previously but recently it started behaving this way, the touch-id version hasn't changed, and I have to set both |
Also faced with this problem |
Проблемы была решена следующей командой react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res |
The problem was solved by the following command. react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res |
Hello,
The fingerprint image isn't loaded on Android, I believe it was added in #163, see below.
I've double checked everything in the README and I can't see that I've missed anything.
This is the configuration I'm using:
build.gradle
Thoughts?
See below
The text was updated successfully, but these errors were encountered: