Skip to main content
Level 2
Jun 11, 2024 5:05 AM UTC
Solved

Adobe target integration with react native mobile app

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.
iamaemuserAccepted solution
Level 2
Jun 24, 2024 5:19 AM UTC

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.

4 replies

alexbishop
Adobe Employee
Adobe Employee
Jun 11, 2024 8:15 AM UTC

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

Translate
Level 2
Jun 19, 2024 6:21 AM UTC

Helo is your problem solved? I have the same issue

Translate
iamaemuserAuthorAccepted solution
Level 2
Jun 24, 2024 5:19 AM UTC

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.

Translate
Level 2
Jul 4, 2024 9:25 AM UTC

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

 

Please help us with that

Translate