Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent publishers from firing on startup #53

Open
derwaldgeist opened this issue Jul 5, 2024 · 1 comment
Open

Prevent publishers from firing on startup #53

derwaldgeist opened this issue Jul 5, 2024 · 1 comment

Comments

@derwaldgeist
Copy link

derwaldgeist commented Jul 5, 2024

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)?

@derwaldgeist
Copy link
Author

derwaldgeist commented Jul 5, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant