Closed xamarin7100 closed 2 years ago
Hi @xamarin7100,
I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
Wich version of MvvmCross are you using? Have you installed the plugin to all your projects? Core/iOS/Android? Do the bootstrap files exist in you Android/iOS projects?
Hi, thanks for replying. Wich version of MvvmCross are you using? v1.4.3 Andrioid Have you installed the plugin to all your projects? Core/iOS/Android? Yes, installed to all projects Do the bootstrap files exist in you Android/iOS projects? Yes, the bootstrap folder was created on Andrioid, but not on IOS.
MvvMCross 1.4.3? Can't be. The Plugin only supports MvvMCross > 4. Can you debug into the Bootstrap files, if everything gets called correctly?
The MvvmCross.Platform is v 4.0.0.0 The MvvmCross.Plugins.Fingerprint v 1.4.3.0 The Plugin.Fingerprint.Abstractions v 1.4.3.0
In the Android Bootstrap folder, there is a FingerprintPluginBootstrap.cs which has the code below: using MvvmCross.Platform.Plugins;
namespace Fingerprint_test.Droid.Bootstrap
{
public class FingerprintPluginBootstrap
: MvxPluginBootstrapAction
I'm not able to put break point there. And I don't think it got called.
One correction, the bootstrap folder is on IOS too. I used your sample project and I debugged the method below:
private async void OnAuthenticate(object sender, EventArgs e)
{
lblStatus.Text = "";
var fpService = Mvx.Resolve
await SetResultAsync(result);
}
On the line var fpService = Mvx.Resolve
Wich exception?
It didn't listed. I checked the value of fpService which is NULL.
Can you give us a working sample on MvvmCross?
Can you provide me a minimum example project that has your issue? Just create a github repository and push it there. I don't wan't you actual app, but something I can investigate!
Hi, I created a repository with a sample. Thanks https://github.com/xamarin7100/fingerprint_test.git
With the new version, it's working well now. thanks
@smstuebe @xamarin7100 Hi, I still meet this issues with v1.4.4.0, I am using the sample repository provide by xamarin7100. Do you guys have any idea? Thanks
To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather. Just imagine: we do not know what you are doing!
Steps to reproduce
Install MvvmCross Fingerprint plugin.
Create a event to call the lines of code as Example:
Expected behavior
The line below should be called and ask to enter the fingerprint
var result = await fpService.AuthenticateAsync("Use your fingerprint to log in");
Actual behavior
The line of code is skipped.
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: 1.4.3
Platform: Android API 25, .net Framework 4.5
Device: samsung S7