내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to access Adobe Tags in the iOS and Android SDK

Avatar

Level 1

We are investigating using Adobe tags in our iOS and Android apps for configuring various systems i.e. turning features on and off.


I've been trying to find the SDK documentation on how to do that, and have so far drawn a blank.


I can see this tutorial which shows the app receiving the tags configuration, but I haven't found which API we would use to extract that information, use the settings in the app, and probably listen for any changes in the settings.


If anyone could point me in the right direction, that would be very helpful - thanks!

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

Feature flag tests are pretty common with Adobe Target. Here is a tutorial that describes the approach. The sample app and code examples use the old SDK, but the approach would be more or less similar in the current SDK. Similar to what @Ivan_Mironchuk describes, Target "sets a key value pair on the device". You can probably replicate the behavior with just the Mobile SDK and tags/Launch, if you don't have Target. https://experienceleague.adobe.com/docs/target-learn/mobile-sdk-v4-android/feature-flagging.html?lan...

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Employee Advisor

Hey John - you will find most of the information you are looking for on our dedicated Mobile SDK doc site: 

 

https://sdkdocs.com 

 

Most of the tags are not deployed in Launch, but can be controlled via Launch. Typically a trackAction or trackState call is made within the app to denote a button press or view switch etc. With each one of these calls you can attach additional context data. Data Elements can be created within Launch to alias the data flowing through the mobile app for additional controls and rule building. 

 

Hope that helps!

Avatar

Level 1

Thanks Ivan - I don't think I was very clear in my original question.

 

What I'm looking for is to be able just to read incoming tags (e.g. things like feature flags) that have been set on the server, rather than track user events and post them up to the server (which is what we already do).

 

Am I misunderstanding that this is something we could do via Adobe Tags/Launch?

 

If so, is there a specific page in the docs that would point me to that SDK function? I've already searched the SDK docs and found nothing yet, which could be because I've misunderstood the feature set (or I'm not very good at searching!)

 

Thanks again

John

 

Avatar

Employee

Hi @JohnPollard

 

It sounds like you want to do some custom configuration after receiving the configuration json from Adobe Launch. There is an api to programmatically set the individual configuration settings: https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/configuration/configuration-api-r... and a sample of the configuration json downloaded from launch can be seen at https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/configuration#sample-configuratio.... Does this help with your issue?

 

Thanks,

Ryan

Avatar

Employee Advisor

In addition to @Ryan_Morales  suggestion, you could look to set a rule within launch to perform to set a key value pair on the device, or go to a URL path. Attach or Modify data actions might work for this. That might be a way to trigger a feature flag. Do you have a conditional rule that you are looking to add before you trigger the update on the client app? 

Avatar

정확한 답변 작성자:
Employee Advisor

Feature flag tests are pretty common with Adobe Target. Here is a tutorial that describes the approach. The sample app and code examples use the old SDK, but the approach would be more or less similar in the current SDK. Similar to what @Ivan_Mironchuk describes, Target "sets a key value pair on the device". You can probably replicate the behavior with just the Mobile SDK and tags/Launch, if you don't have Target. https://experienceleague.adobe.com/docs/target-learn/mobile-sdk-v4-android/feature-flagging.html?lan...

Avatar

Level 1

Thanks everyone for their very helpful replies - and @dwright that was just what we were looking for!