I'm working on adding AdobeAssurance but when I go to startSession, the SessionId_Key isn't set. Where should I be setting this?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
It was a configuration issue on my end. Thank you!
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).
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
Hello @knguyen-dev
The "adb_validation_sessionid" parameter value should be passed onto the startSession function.
Here is the reference from the sample app:
You can either hard-code the URL in the code if you are planning to use the same session every time or dynamically pass the "adb_validation_sessionid" value from the browser to the app.
1. I was able to start a session but the events that should be tracked are not viewable in the web interface even though the code is getting hit. What might be going on?
2. Is there a way around inputting the session PIN so that all debug build interactions can be tracked automatically?
Views
Replies
Total Likes
Hello @knguyen-dev
Could you please share more details, like how you are collecting/triggering the events and the consent information?
Views
Replies
Total Likes
Also, some code samples of how you have configured the Mobile App and what are your expected events.
Views
Replies
Total Likes
It was a configuration issue on my end. Thank you!
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies