Skip to content

Conversation

@aleqsio
Copy link
Contributor

@aleqsio aleqsio commented Nov 25, 2025

This is an unfinished PR – don't merge without testing fully and adding OnStopObserving to stop the native Task

Motivation

We've had a customer that found it hard to use this module to get pushToStartTokens.

The listener triggered only on fresh app install, also there was no way to delay the listener subscription till after signin.

Changes suggested

I'd suggest revamping the code to use OnStartObserving, OnStopObserving fully, and having the listener always emit a token on subscription (not only when the native events happen)

I'd also suggest exposing current tokens as properties.

@kowczarz kowczarz changed the title [DO NOT MERGE] Refactor token emitter Refactor token emitter Nov 28, 2025
@kowczarz kowczarz merged commit 7451cca into software-mansion-labs:main Nov 28, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants