On every app start, the session sends events to the photoPublisher and the videoPublisher. I assume this is to restore the display of any previously shot photos or videos. However, in my app, this would trigger an upload to the server.
Is there a way to prevent these initial event sends - or at least detect if these photos and videos are published in response to a current user interaction (i.e. the user shoots a photo or records a video)?
I also noted that the publishers (e.g. the photoPublisher) are called multiple times on startup, even though I create the session only once. What might be the reason for his?
On every app start, the session sends events to the photoPublisher and the videoPublisher. I assume this is to restore the display of any previously shot photos or videos. However, in my app, this would trigger an upload to the server.
Is there a way to prevent these initial event sends - or at least detect if these photos and videos are published in response to a current user interaction (i.e. the user shoots a photo or records a video)?