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

Fix Landing Screen Firebase #48

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

JosephSemrai
Copy link
Contributor

@JosephSemrai JosephSemrai commented Jan 4, 2020

Description

On iOS, the application failed to run upon trying to render the component with Firebase handlers without first initializing Firebase Auth and creating the application.
With this, the initialization was moved to componentWillMount so that it would be executed prior to rendering, so that we can properly redirect the user via navigation, perform initialization, and such. We also await these functions to prevent errors experienced with faster devices.
(Seems that it just defers it to not being able to load the screen, but the app successfully launches).

Related Issue

#47
Screen Shot 2020-01-04 at 10 03 22 AM

@AsithaIndrajith AsithaIndrajith merged commit ee4d1fd into scorelab:master Jan 14, 2020
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