ios - 将 firebase sdk 更新到 6.2.0 或更高版本时,Firebase 分析被禁用
问题描述
将 Firebase Core iOS SDK 更新到 6.2.0 或更高版本时,Firebase Analytics 停止工作。
如果版本为 6.1.0 或更低,则可以正常工作。
[FIRApp 配置];
在控制台中获取以下日志
6.10.0 - [Firebase/Analytics][I-ACS034002] Failed to recreate database file. Error: Error Domain=com.google.gmp.measurement.ErrorDomain Code=3 "Database operation "prepare statement" failed with sqlite code 0 and error message "not an error"" UserInfo={NSLocalizedDescription=Database operation "prepare statement" failed with sqlite code 0 and error message "not an error", APMMonitorContext=prepare statement,0,A,3}
6.10.0 - [Firebase/Analytics][I-ACS012001] Failed to open database (Init)
6.10.0 - [Firebase/Analytics][I-ACS034002] Failed to recreate database file. Error: Error Domain=com.google.gmp.measurement.ErrorDomain Code=3 "Database operation "prepare statement" failed with sqlite code 0 and error message "not an error"" UserInfo={NSLocalizedDescription=Database operation "prepare statement" failed with sqlite code 0 and error message "not an error", APMMonitorContext=prepare statement,0,A,3}
6.10.0 - [Firebase/Analytics][I-ACS012001] Failed to open database (Init)
6.10.0 - [Firebase/Analytics][I-ACS023011] Failed to start Analytics. Analytics is disabled
解决方案
推荐阅读
- notion-api - 使用 API 在概念数据库中创建页面时 page_id 应该存在错误
- c# - 检查字符串是否包含一个单词,即使它的大小写不同c#
- java - 将数组内的数字相加
- django - 如何使用 select_related 加入多个模型?
- mongodb - 仅当字符串字段存在于MongoDB中时如何拆分它?
- r - 对 RMANOVA 进行组比较 Shapiro-Wilks 测试时遇到问题
- php - 在 PHP 中打印从 JSON 收集项目订单的字符串
- cobol - 使用 CICS COBOL 在网页上发送和显示十六进制值
- java - 使用 Spring Web 流 + JSF 不会在流中捕获动作事件
- swift - 单击collectionview的单元格时打开另一个视图控制器