Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!

AEP Mobile SDK appendVisitorInfoForURL time out error

Avatar

Level 5

Hi,

 

We are working on an app using the latest AEP Mobile SDK ReactNative with Edge Bridge extension.

 

The appendVisitorInfoForURL API is used for visitor persistence between the mobile app and the web view. In iOS, the API call always return “timeout error” (Android is working fine).

 

Anyone has encountered the same issue and is there any way to work around it?

 

Thanks,

John

 

4 Replies

Avatar

Administrator

Hi @Hey_John , 

 

Have you tried asking this in the AEP community too? Seems like there's not a lot of traction here in Analytics with this question.

Avatar

Level 5

It's now resolved. The issue was due to the confusion on the naming between the (leagcy) Identity for ECID Service and the new Identity for Edge.

 

When we migrate to Edge and on the React Native code, we forgot to take out the "Identity" from the AEPCore, but we removed the underlying Identity for ECID Service extension. Unfortunately, the error shows as timeout instead of something like API/library not found.

 

It's resolved after we take out "Identity" from AEPCore and import the "Identity" from IdentityforEdge.

 

Thanks.

Avatar

Level 1

Hey,

 

Hello,

 

I have the same issue using 

import { Identity } from '@adobe/react-native-aepcore';

Identity.appendVisitorInfoForURL(value)
 
But when I replace it with edge:
 
import { Identity } from '@adobe/react-native-aepedgeidentity';
Identity.appendVisitorInfoForURL(value)
 
It doen't work.
 
There is no API appendVisitorInfoForURL in @adobe/react-native-aepedgeidentity
 
How did you resolve your issue?

Avatar

Level 5

Hi @AshwinNa5 

 

appendVisitorInfoForURL is no longer availbale in Identity for Edge,

 

Use getUrlVariables() instead.

 

In case you need to keep both version of Identity,, try the following,

 

import {Identity as AEPIdentity} from '@adobe/react-native-aepcore';
import {Identity as AEPEdgeIdentity } from '@adobe/react-native-aepedgeidentity';

AEPIdentity.getUrlVariables().then(urlVariables =>
console.log('AdobeExperienceSDK (core): UrlVariables = ' + urlVariables),
);

AEPEdgeIdentity.getUrlVariables().then(urlVariables =>
console.log('AdobeExperienceSDK (Edge) : UrlVariables = ' + urlVariables),
);

Hope it helps.