-
Notifications
You must be signed in to change notification settings - Fork 584
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
refactor: make share sheet global #8563
Conversation
src/app/Components/CustomShareSheet/CustomShareSheetContext.tsx
Outdated
Show resolved
Hide resolved
src/app/Components/CustomShareSheet/CustomShareSheetProvider.tsx
Outdated
Show resolved
Hide resolved
src/app/Components/CustomShareSheet/CustomShareSheetProvider.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍 Just a couple minor suggestions + one request (unifying provider + context into one file); otherwise
const res = await Share.open(shareOptions) | ||
trackEvent(share(tracks.iosShare(res.message, data!.internalID, data.slug))) | ||
} catch (err) { | ||
Sentry.captureMessage("HANDLE_SHARE_MORE_PRESS: " + err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe attatch the screen name here? (see relay error middleware)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks for working through those changes 👍
(Merge when ready) |
Co-authored-by: George Kartalis <g.kartalis7@gmail.com>
Co-authored-by: George Kartalis <g.kartalis7@gmail.com>
Co-authored-by: George Kartalis <g.kartalis7@gmail.com>
6a4bd4f
to
e52cd6f
Compare
This PR resolves []
Description
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.