问题描述
我必须在我的项目中实现指纹/faceid 功能,并且我正在尝试添加 plugin.Fingerprint,但是当我添加到我的 PCL 项目时我收到了这条消息:
Could not install package 'Cross.Plugins.Fingerprint 2.1.3'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile78',but the package does not contain any assembly references or content files that are compatible with that framework. For more information,contact the package author.
我尝试了插件的所有稳定版本,我试图四处寻找兼容性规范,但没有成功。 有人可以帮我吗?
PS:我无法使用 Xamarin.Essentials 我尝试使用它,但我在 android 项目上的 webview 有一个奇怪的问题:无法再在超链接上导航。
提前感谢回答我的人。
解决方法
.NETPortable 不支持 Plugins.Fingerprint 2.1.3。检查here。
如果可能,请更改为 .NET Standart,如果没有,请尝试寻找其他插件