ActivityRecording.createSession(opts) not behaving as documented.

Former Member
Former Member
In an experiment to see if you could change a session name during recording I think I found a discrepency.
According to the docs
If there is an existing object that has not been closed using the save() or discard() methods, this method will return that object instead of creating a new one.
&
  • A new session object, or the existing session object if a session is active and has not been saved or discarded



Calling create after start will crash on both sim & device. Start, stop, create, & start, will created 2 sessions.