How to setup Adobe Target(Edge SDK) in react native mobile app | Community
Skip to main content
Level 2
June 17, 2026
Question

How to setup Adobe Target(Edge SDK) in react native mobile app

  • June 17, 2026
  • 2 replies
  • 37 views

I want to integrate Adobe Target into my react native app via Edge SDK and run few A/B test activities. I also want to create few tests for the webview screens .
Also, what part will have to be done by the app developer in terms of UI changes other than the app setup?

2 replies

v-lazar
Level 2
June 17, 2026

@N_G use the AEP Mobile SDK with the Edge extension. React Native wrappers exist (packages like @adobe/react-native-aepcore, aepedge, aepedgeidentity, aepedgeconsent, aeptarget).

Native iOS and Android initialization is required, the JS side registers extensions and configures the mobile property.

In native screens, call Target.retrieveLocationContent() at the lifecycle moment the test surface renders, apply the response to props or state, send a clickedLocation event on interaction.

For webviews, install Web SDK (alloy) in the HTML and pass the ECID from native into the webview so the same profile is used. That identity bridge is the only piece without a default.

The app dev work will be required beyond setup: identify every mbox surface, fetch and apply the response, render a default fallback when nothing returns, send display and click events back, gate on consent.

https://www.linkedin.com/in/viktor-lazar/ | https://cyber64.com/insights
Gokul_Agiwal
Community Advisor
Community Advisor
June 17, 2026

Hi ​@N_G  

Agree with ​@v-lazar , he outlined all the implementation steps below. Please also find the reference links to get started 

So your app developer controls how the UI is rendered. And all UI logic, variants, fallback handling, and tracking must be implemented in the app. 

Hope this help

Thank you.