Skip to content

[Android] Add missing onHostDestroy call#159

Open
lucas-tulio wants to merge 1 commit into
airbnb:masterfrom
lucas-tulio:lt-fix-missing-lifecycle-call
Open

[Android] Add missing onHostDestroy call#159
lucas-tulio wants to merge 1 commit into
airbnb:masterfrom
lucas-tulio:lt-fix-missing-lifecycle-call

Conversation

@lucas-tulio
Copy link
Copy Markdown

Adds the onHostDestroy method call. Lacking this call can cause problems when using features that rely on your React lifecycle.

Besides, we're already calling onHostPause and onHostResume so, for the sake of consistency, we should also do onHostDestroy 😄

Adds the missing `onHostDestroy` method. Lacking this method can cause problems when using features that rely on your app's lifecycle.
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.

1 participant