Missing SessionID_Key | Community
Skip to main content
Level 2
August 28, 2023
Solved

Missing SessionID_Key

  • August 28, 2023
  • 1 reply
  • 1819 views

I'm working on adding AdobeAssurance but when I go to startSession, the SessionId_Key isn't set. Where should I be setting this? 

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 knguyen-dev

Also, some code samples of how you have configured the Mobile App and what are your expected events.


It was a configuration issue on my end. Thank you!

1 reply

Manoj_Kumar
Community Advisor
Community Advisor
August 29, 2023

Hello @knguyen-dev 

 

While calling the startSession function, You must pass sessionURL as a parameter.

 

Assurance.startSession(sessionURL);

 

This value of sessionURL is the session URL you get from the assurance UI from data collection (highlighted below).

 

 

Manoj     Find me on LinkedIn
Level 2
August 29, 2023

I was working off the assumption that the link generated was supposed to be pasted into a Safari browser on the simulator/test device. Is that incorrect? Are we pasting the sessionURL generated from the browser interface directly into our code and then running the app in the simulator?

Manoj_Kumar
Community Advisor
Community Advisor
August 29, 2023

Hello @knguyen-dev 

 

The "adb_validation_sessionid" parameter value should be passed onto the startSession function.

 

Here is the reference from the sample app:

aepsdk-react-native/apps/AEPSampleApp/extensions/AssuranceView.tsx at 797d43ebef77df35275092ddae72e21ab18dca0e · adobe/aepsdk-react-native · GitHub

Manoj     Find me on LinkedIn