Adobe target integration with react native mobile app | Community
Skip to main content
Level 2
June 11, 2024
Solved

Adobe target integration with react native mobile app

  • June 11, 2024
  • 2 replies
  • 2385 views

Hi All,

We are trying to integrate adobe target in react native mobile app. We are using form based activity in target and expecting JSON in react native mobile app. We referred below documentation.

https://github.com/adobe/aepsdk-react-native/tree/main/packages/target

Library used: @61380/react-native-aeptarget – version 5.0.0

Project Info: React Native -  + 0.70.6

 

please find the steps followed 

  1. Installed the library  @61380/react-native-aeptarget.
  2. Followed initializing and registering the extension for android and iOS as mentioned in above document.
  3. Try to retrieve the content via retrieveLocationContent method by passing mboxParamters as mentioned in above document.

But API call is not happening.

 

 

var request1 = new TargetRequestObject("mboxname","defaultContent1",(error, content) => { if (error) { console.error(error); } else { console.log("Adobe content:" + content);}}); var locationRequests = [request1]; Target.retrieveLocationContent(locationRequests);

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by iamaemuser

Hi @vincelu Yes our issue is fixed. The problem was in adobe launch. Rules were not configured properly. After rules added and published, it worked in app.

2 replies

alexbishop
Adobe Employee
Adobe Employee
June 11, 2024

Not sure if you have seen it already but there is a sample app here, so you could compare your implementation to that one

Level 2
June 19, 2024

Helo is your problem solved? I have the same issue

iamaemuserAuthorAccepted solution
Level 2
June 24, 2024

Hi @vincelu Yes our issue is fixed. The problem was in adobe launch. Rules were not configured properly. After rules added and published, it worked in app.

Level 2
July 4, 2024

what rules do we have to apply for that in our environment ?

 

Please help us with that