Skip to content

Conversation

@sergeysozinov
Copy link
Contributor

@sergeysozinov sergeysozinov requested a review from enotniy December 5, 2025 06:29
Mindbox.writeLog("[RN] ReactContext already available; skipping listener registration ", Level.INFO)
return
}
val hasConsumedReactContext = AtomicBoolean(false)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а тут не надо вынести в поле класса?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не, как раз хорошо оставить локально в onActivityCreated
Она нужна только здесь

И при пересоздании активити она сбросится, а если делать в классе - придется руками сбрасывать

@sergeysozinov sergeysozinov merged commit 638b0ac into develop Dec 5, 2025
7 checks passed
@sergeysozinov sergeysozinov deleted the feature/WMSDK-569 branch December 5, 2025 08:24
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.

3 participants