微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Xamarin.forms plugin.FingerPrint 无法添加到我的项目

如何解决Xamarin.forms plugin.FingerPrint 无法添加到我的项目

我必须在我的项目中实现指纹/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,如果没有,请尝试寻找其他插件

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。