[Feature-13190]How to terminate perspective session from mobile?

I opened an internal feature request, but in the meantime (and assuming our implementation requires a user to manually trigger a session termination) you can rig something similar up:

  1. Create a new Session custom property with a key of “retired” and set the value to false.
  2. Place a Button which will be used to Terminate Session somewhere (most likely a Header/Footer which is always displayed).
  3. When the Button is clicked, set self.session.custom.retired to have a value of true.
  4. Now when your Session receives calls to update the GPS coordinates (from Tracking perspective app coordinates), check against the retired session property, and if it is false, don’t send the response.