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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Hey,
Hello,
I have the same issue using
import { Identity } from '@adobe/react-native-aepcore';
Views
Replies
Total Likes
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.
Hey John,
Thank you for the details, this really helped me
Indeed you need to replace appendVisitorInfoForURL with getUrlVariables for AEPEdgeIdentity.
Thanks again!
Regards
Views
Replies
Total Likes
Views
Likes
Replies