Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor
Microsoft Public License
495
stars
118
forks
source link
.NET MAUI iOS crashes with "This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation." #243
using Plugin.Fingerprint version 2.1.5 on iOS results in "This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation."
Steps to reproduce
Download Plugin.Fingerprint version 2.1.5
Run the project on iOS simulator
Use biometric library
Expected behavior
The biometrics property should initialize properly on iOS simulator
Actual behavior
An exception is thrown:"This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation."
Crashlog
System.AggregateException: One or more errors occurred. (This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.)
---> System.NotImplementedException: This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
at Plugin.Fingerprint.CrossFingerprint.CreateFingerprint()
at System.Lazy1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].PublicationOnlyViaFactory(LazyHelper initializer) at System.Lazy1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].CreateValue()
at System.Lazy`1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].get_Value()
at Plugin.Fingerprint.CrossFingerprint.get_Current()
at MauiApp.Helpers.BiometricHelper.IsBiometricsAvailableAsync() in /Documents/src/MauiApp/Helpers/BiometricHelper.cs:line 56
Configuration
Version of the Plugin: 2.1.5
Platform: iOS
Device: iPhone 15 simulator, iphone 16 simulator
Additional informaiton
-All necessary permissions are included in Info.plist
-package is properly referenced in the main project
-works fine on android withe the same implementation
critical business impact
-unable to use beta versions(3.0.0-beta.1) due to company security policies and restrictions
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.
Using Plugin.Fingerprint 2.1.5 on iOS issue
Steps to reproduce
Download Plugin.Fingerprint version 2.1.5
Run the project on iOS simulator
Use biometric library
Expected behavior
The biometrics property should initialize properly on iOS simulator
Actual behavior
An exception is thrown:"This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation."
Crashlog
System.AggregateException: One or more errors occurred. (This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.) ---> System.NotImplementedException: This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation. at Plugin.Fingerprint.CrossFingerprint.CreateFingerprint() at System.Lazy
1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].PublicationOnlyViaFactory(LazyHelper initializer) at System.Lazy
1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].CreateValue() at System.Lazy`1[[Plugin.Fingerprint.Abstractions.IFingerprint, Plugin.Fingerprint, Version=2.1.5.0, Culture=neutral, PublicKeyToken=null]].get_Value() at Plugin.Fingerprint.CrossFingerprint.get_Current() at MauiApp.Helpers.BiometricHelper.IsBiometricsAvailableAsync() in /Documents/src/MauiApp/Helpers/BiometricHelper.cs:line 56Configuration
Version of the Plugin: 2.1.5
Platform: iOS
Device: iPhone 15 simulator, iphone 16 simulator
Additional informaiton
-All necessary permissions are included in Info.plist -package is properly referenced in the main project -works fine on android withe the same implementation
critical business impact
-unable to use beta versions(3.0.0-beta.1) due to company security policies and restrictions