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: android OnNewIntent not fired on first app launch #12

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

achorein
Copy link
Owner

@achorein achorein commented Mar 4, 2024

Summary

In case the app was not opened before (not in a background state), the Activity lifecycle listeners OnNewIntent is not fired and share info cannot be retrieve on the application

Todo

  • Implement ReactActivityLifecycleListener to save original intent from native lifecycle
  • Handle getShareIntent in Android to force triggering the event

Issue

#9

@achorein achorein added bug Something isn't working android labels Mar 4, 2024
@achorein achorein self-assigned this Mar 4, 2024
@achorein achorein merged commit 884519e into expo49 Mar 4, 2024
3 checks passed
@achorein achorein deleted the fix/android-shareintent-oncreate branch March 4, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant