[英]The method 'getInstance' isn't defined for the type 'FirebaseAppCheck'
I am trying to use firebase new feature which is App check.我正在尝试使用 Firebase 新功能,即应用检查。 I am following the instructions from their documentation app check .我正在按照他们的文档应用检查中的说明进行操作。
For this line对于这条线
FirebaseAppCheck firebaseAppCheck = FirebaseAppCheck.getInstance();
The method getInstance
isn't defined for the type FirebaseAppCheck
.没有为FirebaseAppCheck
类型定义方法getInstance
。
Does anyone know what should I do?有谁知道我该怎么办?
尝试:
FirebaseAppCheck firebaseAppCheck = FirebaseAppCheck.instance;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.