The issue is most likely that the plugin is targeting MvvmCross 6.0.0, while you are on 7.x.x since you are mentioning AndroidX.
The MvvmCross.Plugins.Fingerprint package doesn't much else than just registering the Fingerprint in the IoC container for you.
So instead try just adding the Plugin.Fingerprint
package to your project. Then in Setup.cs
you can register this yourself in a override of InitializeLastChance
or any other relevant lifecycle method there:
protected override void InitializeLastChance()
{
base.InitializeLastChance();
Mvx.IoCProvider.LazyConstructAndRegisterSingleton(() => CrossFingerprint.Current);
}
Now you can resolve IFingerprint
in your ViewModels.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…