This is a screen shot of my "Start Screen" Events. I am setting the "tnt_id" local storage variable event on page load and then invoking a javascript function which alerts the "tnt_id". This is working as expected when testing the app.
Let me try and return 1, although I did add
return localStorage.getItem('tnt_id');
which apparently isn't working.