Login app using fingerprint instead of password - flutter

I am working on Flutter login screen but I want to register app using a fingerprint instead of the password. We have local_auth in Flutter but that is fore unlocking app using a fingerprint or touch id. What are the available methods to do that?

What you can do is to refer the plugin local_auth available on Pub and authenticate with local authentication. It is the fastest way to handle it. The package is maintained by the official flutter team, so no need to worry about the updates.
Check the repository and examples here:
https://github.com/flutter/plugins/tree/master/packages/local_auth
Thanks.

Related

Flutter on Windows: Firebase Authentication

I am trying to use Google Sign In authentication method on my flutter Windows app through firebase. The problem is, that I can't find any configuration file about it in firebase console (like on Android: google-services.json, or iOS: google-services.plist). Does anyone know a way to figure this out? To provide authentication into an Flutter Windows app with Google Sign In method?

How to support WebAuthn in WKWebViews or on PWA based IOS app

I am using webauthn for biometric authentication like fingerprint scan in my pwa.
Now to publish it on IOS as an app I have used pwabuilder.com to get an ios package, which packages pwa to load it in wkwebview so that it can run on ios as native app. Now when I am running this pwa ios package using xcode everything is working fine except biometric login.
I checked online and it seems wkwebviews don't support webauthn. Is there any work around for this?
We tried using SFSafariViewerController and with this, webauthn works fine but once user presses done on safariviewercontroller UI it reaches back to login page so we will need to send some authentication information to WKWebView which initiated that SFSafariViewerController in order to authenticate user. Can anyone tell us how can we share the data between SFSafariViewerController and WKWebView?

Flutter: Firebase Auth UI stuck on verification screen

I want to use the firebase_ui_auth package and i am testing with the example app in the repository. When i register a user with email and password the verify email screen is pushed and the issue i am facing is that after i click on the url to verify, the app remains in the loading state. I have connected the app to a firebase project, are there any other settings that I need to make?
Thanks in advance.

Register user biometrinc finger print in 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.

Facebook SDK: Ads Install Help on Xamarin.iOS

has anyone used the FBSettings.PublishInstall(APP_ID) api method from the Facebook SDK in Xamarin.iOS with success ?
I've read and applied all the stuff described here:
https://developers.facebook.com/docs/tutorials/mobile-app-ads/
but I'm unable to see any install notification on my FB developer application page.
Some questions:
- Is this testable in debug mode via a REAL device? (no emulator)
- To test if all is ok, do I need to create a campaign?
- There's a way to check if the method call FBSettings.PublishInstall() throw some error? I'm currently wrapping it in a try/catch block but nothing is thrown.
thanks
Francesco
I've finally sorted out the whole thing. I'm auto answering my question just in case anyone in future needs some help.
How to test Facebook Ads Install step by step:
As reference guide read this https://developers.facebook.com/docs/tutorials/mobile-app-ads/
Create a FB app and obtain a FB AppID (namespace is not required)
Fill iOS and Android store references data
Inlude the FB Sdk binding in your project
Execute the FBSettings.PublishInstall(APP_ID) in the OnActivated (for iOS) or in the OnResume (for Android) methods
Test this with an AdHoc release on a REAL device (don't know if it works with a debug release)
Very Important: the official FB app must be installed on the test device. Install notifications are sent ONLY if the FB app is installed and running (logged with a valid account) !!!!!!!