【发布时间】:2017-01-19 00:17:01
【问题描述】:
以下是我创建基于自定义受众的远程配置条件所遵循的步骤 -
- 首先我创建了一个名为 OEM 的用户属性
-
我创建了一个动态链接,
utm_source为google-micromax 我创建了一个
OEM-Micromax受众,条件是用户属性OEM包含google-micromax
- 然后我根据 Micromax 受众创建了一个远程配置条件
-
然后我处理动态链接并将用户属性设置为从链接的
utm_source返回的值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); } } }); 现在,当我从远程配置中获取
oem_admob_banner_unit_id参数时,它仍然返回 默认 值,而不是 Micromax 受众的值。
我做错了什么?
【问题讨论】:
标签: ios firebase firebase-dynamic-links firebase-remote-config