Ios 访问群体的Firebase远程配置不工作
以下是创建自定义基于访问群体的远程配置条件的步骤-Ios 访问群体的Firebase远程配置不工作,ios,firebase,firebase-dynamic-links,firebase-remote-config,Ios,Firebase,Firebase Dynamic Links,Firebase Remote Config,以下是创建自定义基于访问群体的远程配置条件的步骤- 首先,我创建了一个名为OEM的用户属性 我创建了一个与utm\u sourceasgooglemicromax 我创建了一个OEM Micromax访问者,条件是用户属性OEM包含google Micromax 然后,我基于Micromax访问群体创建了一个远程配置条件 然后,我处理动态链接并将user属性设置为从链接的utm\u源返回的值 AppInvite.AppInviteApi.getInvitation(mGoogleApiC
utm\u source
asgooglemicromax
OEM Micromax
访问者,条件是用户属性OEM
包含google Micromax
utm\u源返回的值
AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, autoLaunchDeepLink)
.setResultCallback(
new ResultCallback<AppInviteInvitationResult>() {
@Override
public void onResult(AppInviteInvitationResult result) {
if (result.getStatus().isSuccess()) {
//First time user
if (StorageHelper.getBooleanObject(StorageHelper.FIRST_TIME_USER, true)) {
Intent intent = result.getInvitationIntent();
String deepLink = AppInviteReferral.getDeepLink(intent);
Uri uri = Uri.parse(deepLink);
String utm_source = uri.getQueryParameter("utm_source");
FirebaseEvents.setUserProperty(utm_source);
StorageHelper.setBooleanObject(StorageHelper.FIRST_TIME_USER, false);
}
FirebaseEvents.logEventInvite(true);
}
}
});
AppInvite.AppInviteApi.getInvitation(mGoogleApiClient,this,autoLaunchDeepLink)
.setResultCallback(
新的ResultCallback(){
@凌驾
公开作废onResult(AppInvitedInvitationResult){
if(result.getStatus().issucess()){
//首次用户
if(StorageHelper.getBooleanObject(StorageHelper.FIRST_TIME_USER,true)){
Intent=result.getinvitationcontent();
字符串deepLink=AppInviteReferral.getDeepLink(intent);
Uri=Uri.parse(deepLink);
字符串utm_source=uri.getQueryParameter(“utm_source”);
FirebaseEvents.setUserProperty(utm_源);
StorageHelper.setBooleanObject(StorageHelper.FIRST\u TIME\u USER,false);
}
FirebaseEvents.logEventInvite(true);
}
}
});
oem\u admob\u banner\u unit\u id
参数时,它仍然返回默认值,而不是Micromax访问群体的值我做错了什么?不确定这是否与您的问题有关,但我也无法让观众驱动的远程配置正常工作。(我碰巧是一个基于应用程序事件/参数的受众,所以这是一个稍微不同的场景,但可能是类似的问题)。在我反复触发我的活动,迫使观众中有足够多的用户之后,它终于开始工作了。不知道有多少,大概10个左右。取完后,你应该打电话
FIRRemoteConfig - (BOOL)activateFetched
将获取的配置数据应用于活动配置,从而更新行为和外观
要生效的应用程序的名称(取决于应用程序中配置数据的使用方式)
如果存在已获取的配置且该配置已激活,则返回true
如果未找到提取的配置,或者提取的配置已激活,则返回false
嘿,艾伦,谢谢你的回复。你是必须从10台不同的设备向观众中添加用户,还是从一台设备添加用户?我使用了1台设备。我在iOS和Android应用程序上都这么做了(安装、触发事件、卸载、重复)。我是根据这个答案做的,看起来很准确: