【发布时间】:2018-05-21 08:42:56
【问题描述】:
我已经配置了 firebase ab-testing。一切正常,除了控制台上没有影响用户。
实际上,我可以看到 UI 和日志显示 ab-testing 已应用。 而且,通过查看其他StackoverFlow主题,在fetch成功后也会调用activateFetched。
另外,我已经引用了
- Firebase Remote Config A/B testing shows no results after 24 hours
- Firebase Remote Config results on initial request
- Remote Config A/B Test does not provide results on iOS
但这些对我的情况不起作用。 是否有任何遗漏或任何其他需要检查,以便客户端可以将 AB 测试结果响应到 Firebase 控制台。
首先感谢您的帮助。
代码sn-p:
[FIRApp configure];
FIRRemoteConfigSettings* configSettings = [[remoteConfig configSettings] initWithDeveloperModeEnabled:YES];
[[FIRRemoteConfig remoteConfig] setConfigSettings:configSettings];
[[FIRRemoteConfig remoteConfig] fetchWithExpirationDuration:duration completionHandler:^(FIRRemoteConfigFetchStatus status, NSError *error) {
if (status == FIRRemoteConfigFetchStatusSuccess) {
BOOL configFound = [[FIRRemoteConfig remoteConfig] activateFetched];
【问题讨论】:
-
你找到解决这个特殊问题的方法了吗?我有完全相同的问题。 AB 测试肯定有效,因为我可以看到我从 Firebase 获得了不同的变体,也使用草稿进行测试,但 24 小时后我还没有任何数据。
标签: firebase ab-testing firebase-remote-config