【发布时间】:2021-09-19 03:36:51
【问题描述】:
我是一名应用程序开发人员。我想在征得用户同意后初始化 Flurry 分析 SDK(而不是应用启动)。
同意是在一个片段中获得的。我在同一个片段中使用下面的代码- 新的 FlurryAgent.Builder() .withDataSaleOptOut(false) //CCPA - 默认值为 false .withCaptureUncaughtExceptions(true) .withIncludeBackgroundSessionsInMetrics(true) .withLogLevel(Log.VERBOSE) .withPerformanceMetrics(FlurryPerformance.ALL) .build(getActivity(), {FLURRY_API_KEY}); 但是,没有记录事件。只有当新活动出现在前台时,它们才会开始记录。
你能帮我解决这个问题吗?
提前谢谢你。
【问题讨论】: