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

Call react native observer with initial user/context values #768

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Jul 30, 2020

Goal

React Native initializes later on which results in the user and context state events being missed. When adding the RN observer for metadata it should therefore automatically send an event to the new observer for User/Context as well as metadata, in order to provide the initial value.

Tests

Verified by adding a unit test to confirm the observer is now called.

@tomlongridge tomlongridge merged commit 51f452c into react-native-plugin Jul 31, 2020
@tomlongridge tomlongridge deleted the PLAT-4714-call-rn-observer branch July 31, 2020 11:32
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