Register user biometrinc finger print in flutter - flutter

Can we register a biometric fingerprint on the phone in flutter. I search about that on google and found loca_auth flutter plugin but it can only get the list of biometric fingerprints and authenticate fingerprint but what I need is to register biometric fingerprints in the device.

Third party apps do not have the capacity to register/add biometric materials to devices, no matter what platform you are using -- flutter, etc. Here is how the flow works in general.
User gets a new phone (purchased, gifted, found, etc.), a phone that supports biometric authentication.
User goes to Settings and enrolls a biometric template (e.g. enrolls their fingerprint as a way of unlocking the device). In general, this is the only way to register/enroll a fingerprint/face/iris/etc.
Your app wants users to authenticate using biometrics and so implements something similar to what's described here or here.
Now inside your app, when the user clicks to authenticate(), your app never actually sees any biometric materials. Biometric materials are kept in a secure location so that third party apps cannot access them. What your app gets is acknowledgement from the Framework that the fingerprint/face/iris trying to authenticate into your app is indeed enrolled on the device. Checkout the blog posts I mentioned for more details.

You can do this. Just take a look at this:
Fingerprint Authentication in Flutter
Accordingly you also need to set permissions in android manifest file too.

Related

Firebase Identity Platform Release Version Authentication Problem

I wasn't having such a problem when using the old Firebase authentication methods. After accepting Identity Platform, my gmail and phone auth systems are not working in "android release" mode of my app (downloaded play store app). I'm currently search of the reason for this. I also put the sha keys to Firebase from Google Console App Signing and i also debugging authentication code base with test phone numbers and test gmails. There is no problem in code base or sha keys(my opinion). Now I am verifying oauth in Google Cloud Console. When this verification is verified, will my gmail and phone auths in android release mode be opened? And how long does this verification process take? Ios gmail and phone auth methods work well in the apple store or emulator. Also when i look at Google Cloud Console there are some errors on Identity Toolkit Api and Token Service Api.[enter image description here](https://i.stack.imgur.com/BeF3a.png)
I think the cause of the problem is identity platform integration and this validation for oauth. For what other reason do you think the firebase authentication systems (gmail and phone) works on iOS but not on Android?

Same google clientId and clientSecret for multiple devices (andorid, ios and web)

I am developing an application using Supabase, Flutter and Google OAuth and I would like to know if it is possible to have a single clientId and clientSecret for each device type (ios, android and web) so that I don't have to implement a different authentication workflow for each device.
I have tried looking around the Google Console and see if it is possible to create a single authentication API for multiple devices. I also tried searching online.
There are sevral types of Oauth2 clients.
installed app client (for applications run on the machine)
web app clients (for applications run on web servers)
Android app clients (for applications run on android devices)
IOS app clients (for applications run on Iosdevices)
The authorization method for these three types is different, the code used to authorize them is also different. They can not be mixed.
Android app requires SHA-1 certificate fingerprint
Ios app requires App Store ID
web app requires a redirect uri
So the answer is no you can not create one type of credential to work with Android, Ios and web, you need three different credential types.
a bit of sdk magic
If a user authorizes your web app, they may not need to authorize your android and Ios apps as long as the credentials are all part of the same project on Google developer console.
Last I checked this is not true the other way around, if a user authorizes android or ios first and then tries web they will need to authorize again.
My guess is this is something baked into the android and ios sdk on googles side that is not part of the respective client libraries for web. Either that or its something in the authorization code grant that isn't in the mobile code grant type for Oauth2 I have never bothered to dig to far into it.

How can I integrate Touch ID and Face ID in iOS(swift 5) app

I have to implement biometric authentication, I am using many demos but none the demo is complete, Can any one suggest me the demo or having the
complete demo by which i can register the user biometric and authenticate only that particular user.
Thanks
You can add multiple Touch IDs on your device and it can be used in your app, but it will work as a single user even if the fingerprints are different.
Apple says the model of your face never leaves your iPhone. It does not transmit it over any network or store it in the cloud. Like your digital Touch ID fingerprint, your Face ID data is stored specifically in something called the iPhone's secure enclave.
For multiple user authentication, you have to store the fingerprints on your particular app. But as per my research, Apple didn't give you an access to the Secure Enclave.
https://www.quora.com/Can-the-iPhone-fingerprint-sensor-be-used-to-create-a-fingerprint-picture
You can refer the documentation from Apple to integrate Face ID and Touch ID with your app for a particular user.
https://developer.apple.com/documentation/localauthentication/logging_a_user_into_your_app_with_face_id_or_touch_id

Voice Biometric in google assistance

For one of project, to protect user PHI information we want to implement voice biometric solution in Google assistance app. Need your guidance in below:
Can we add voice biometric for the invocation phrase. I know, that google does voice match, but we want to implement voice biometric authentication, so that only authorized user can access specific skills. How we can do it, or access audio stream during invocation and control.
How we can get audio stream once the assistant app has been invoked. We want to add passive voice biometric in our Google Assistant app.
Please let me know if any details available. Thank you.
Note: Above information required for channel Google Home or Google Assistant device.
For privacy and security reasons, at no point can you get access to the the voice stream or a recording of the users voice when using Actions on Google or through Google Home device.
If you were building your own device and using the Assistant SDK, you have access to the stream (since you have access to the hardware directly).
I'm not sure what you mean by "voice biometric" vs "voice match", but voice matching provides access to account linking so you can enforce access from only specific users.

License to use Google Maps app that comes with iOS

In my application I have "get directions" from the user's current location. When a user taps the location he wants to go to. I do
[[UIApplcation sharedApplication]openURL:googleMapsURL];
Do I need some sort of signing identity, license from Google to send the user to the native Google Maps app when the user wants directions if I want to send the App in to the Appstore?
No need of any Licence from Google or any Signing identity to get approved from AppStore. You can show direction in Native Google Maps app. by opening the following URL string:
http://maps.google.com/maps?saddr=SOURCE_COORDINATES&daddr=DESTINATION_COORDINATES.