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 image upload on native #7121

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Fix image upload on native #7121

merged 1 commit into from
Dec 15, 2024

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Dec 15, 2024

Follow-up to #7105.

#7105 broke uploads on native because RN doesn't like when you pass an argument that wasn't declared on the native side. So instead of passing that argument inside ImageManipulatorContext.ts, I forked ImageManipulatorContext.ts completely into ImageManipulatorContext.web.ts and only pass it in the web version.

Test Plan

@arcalinea arcalinea temporarily deployed to fix-img-native - social-app PR #7121 December 15, 2024 17:37 — with Render Destroyed
@gaearon gaearon merged commit 80c0125 into main Dec 15, 2024
6 checks passed
@gaearon gaearon deleted the fix-img-native branch December 15, 2024 17:42
Copy link

Old size New size Diff
6.78 MB 6.78 MB 0 B (0.00%)

Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
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