about summary refs log tree commit diff
path: root/patches
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)Samuel Newman2025-09-091-0/+13
| | | | | | | | | | | | | * update dependencies * rm `import type React from 'react'` * run codemods * patch discord types * update types/react-dom * Update yarn.lock
* patch in unreleased upstream fix for jitter (#8952)Samuel Newman2025-09-051-0/+38
|
* [APP-1318] `SelectMediaButton` (#8828)Eric Bailey2025-08-182-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Integrate Sonner for toasts * Fix animation on iOS * Refactor API * Update e2e file * [APP-1318] Post composer: combine image & video buttons (#8710) * add: select media btn * udpate: compose post with combined image and video support * add: video combine button with edge cases * add select media btn * test: select media btn * add: media button update * remove unused files and update toast on android * update: make strings shorter * add: ValidatedVideoAsset type * update link comments and add toast support for native and web * rebase latest toast and update toast structure * remove unused prop * fix types * undo changes to yarn.lock * remove: support for mkv files * update: eslint and prettier (cherry picked from commit f69779ee130f07e1c49219b53117e3bdd1a9f81b) * Add missing props to launchImageLibraryAsync (cherry picked from commit 2e80ae561fd66850f787cac0aae0fa5a6980f8f5) * Rough out new approach (cherry picked from commit 9add225160e7e407befc73e9cdd9743a30cdf1cd) * Comments and cleanup (cherry picked from commit e69bd186e7335372f440c446ae6643ed0fb15db9) * Handle native case (cherry picked from commit 74e38acdfd9181d0557426691fcbcbf0800481ca) * Refactor (cherry picked from commit 68aea496db8df54dba5f58da267ad962c28ef995) * Rename (cherry picked from commit 8609e59ad14219e7378ee6cb9514d633ce7efc27) * Cleanup, comments (cherry picked from commit 6c9c98648e37257285a9c8caeb1eadcc56c81402) * Rename (cherry picked from commit 66e3db539d5baa41436c9e49af06e87a78e9e7e1) * Handle selectionLimit on Android (cherry picked from commit 251f06dd5e65a7083b810bad3d81114b2fe9ab39) * create composer images in parallel (cherry picked from commit 70ea79d9d76d99e9c99a7d2296caed84c718650e) * Update toast API usage (cherry picked from commit e370018b8ed8cdfd7675c9634058c72cb59d39de) * Ensure once one type of media is selected, you can only select more of that type (cherry picked from commit 1a9e6e0cdb5234667f08e3dd9107ae598941fc23) * Remove TODO and debug code * Add more descriptive a11y label to button Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add back post success toast * Include mimeType in toast error * Remove unneeded toast * Clarify hint * Typo Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * allow gifs on native, just treat as images * disable haptic toast * allow gifs on native, treat as videos * only do keyboard dismiss on native * tweak pasting logic * hide web scrubber in certain situations * Update MaxImages translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Add plural formatting to a11y hint translation Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * fix suggestion * Protect against no valid assets selected * Handle conversion of too-big assets on web * Reorder * Bump expo-image-picker to include bug/perf improvements See https://github.com/expo/expo/blob/main/packages/expo-image-picker/CHANGELOG.md#1700--2025-08-13 * Handle edge case validations * Ok actually bump expo-image-picker * Comment * HEIC support Android * Fix handling for new picker version, improve size validation * Remove getVideoMetadata handling, no longer needed * Handle web video duration * Update src/view/com/composer/SelectMediaButton.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: Anastasiya Uraleva <anastasiyauraleva@gmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Patch in upstream fix for video rotation on Android (#8635)Samuel Newman2025-07-212-0/+43
| | | | | * patch in upstream fix * build expo-image-picker from source so that patch takes
* new arch (#8295)hailey2025-06-1212-18/+142
| | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Charlotte Som <charlotte@som.codes> Co-authored-by: Hailey <me@haileyok.com>
* temporary react-native-view-shot patch (#8383)hailey2025-05-172-0/+31
| | | | | * temp patch * fix
* swap out cropper library (#8327)hailey2025-05-061-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mostly implement * type errors * unused import * rm comment * stop accidentally deleting the image while compressing * upgrade * type fixes * upgrade, remove timeout * bump * rm mock * bump --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* bump it bop it upgrade it (rn 79/expo 53) (#8281)hailey2025-05-0218-660/+1176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * basic bumps * more tweaking * fix rn patch * fix crop picker patch * fix media library patch * rm unnecessary patch * fix notifications patch * update bottomsheet * Update withAppDelegateReferrer.js * Delete withNoBundleCompression.js * rm withNoBundleCompression plugin * rm findLast shim * metro package exports is enabled by default * update react/react-dom/react-compiler * fix reanimated issue * vendor expo-ized emoji popup * fix types * hackfix view full thread * Update EmojiPickerModule.podspec * more upgrades * fix multiformats package version * add baseurl * bump mmkv * bumps * update react-keyed-flatten-children * bump locale packages * fix emoji picker dark mode * rn upgrades * Revert "bump locale packages" This reverts commit fc82f0f173032127dd7c18ed0316ae26f53db51d. * upgrade testing-library * rm test renderer * update patch name minors * rm findNodeHandle from tabbar * only do scrollview tag thing on ios * disable package exports * update expo notifications handler * memoize emoji picker styles * fix tests, mock multiformats * bump some dev deps with RC versions * completely rearchitect toasts * rm logs * layout animation config for composer footer * disable autolinking for patched libs * undo lingui changes * version bump from release candidate to 0.1 * update atproto deps * rm @did-plc/server * fix key issue (maybe) * move URL polyfill to the polyfill file * fix yarn lock * upgrade to 53.0.3 * reanimated layout anim bug patch * workletize a function that wasn't getting autoworkletized anymore (#8309) * bump to expo 53.0.4 * bump RN to 0.79.2 * fix yarn lock ci * Revert "completely rearchitect toasts" This reverts commit 2e2fcaeeed527580a6c485718544b85e8b4f52b9. * final upgrades * chore: cleanup yarn lock * prettier --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Update patches (#8151)Eric Bailey2025-04-079-17/+17
| | | | | | | | | * Update patches after #8133 * Bump deps * Revert @react-native-picker/picker downgrade * Migrate RN patch
* A few good metrics (#7897)Eric Bailey2025-03-142-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Align dist and release tags on all platforms * Upload web sourcemaps * Debug code * Send debug and error logging to Sentry * Let .env do the work * Try straight env * Try copy in Dockerfile * Ok ok ok * Debug Dockerfile * Proper setup * See where we're at * Reference var correctly * Fall back to package version * Verbose force env * Should be working native builds * Comments * Remove unused deps * Revert unneeded changes * Remove debug code * Clarify intent * Remove deprecated files * Add sentry vars to OTA * Debug * Revert "Debug" This reverts commit 2d5857fb0fb0858ac3e2f98bc56bde913078d0a7. * Use included CLI to upload native source maps post-OTA build * Use included bin script See https://github.com/getsentry/sentry-react-native/commit/0d87adb516b2a5ea61353e25098c31f9aeb7e503 * Bump sentry, update script * Comment * fix failing CI * Pin sentry, update patch, update lock --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Upgrade RN to 0.76.6 (#7557)dan2025-02-032-0/+0
| | | | | * Bump RN to 0.76.6 * Rename patch
* Revert "[Android] Fix taps triggering while swiping (#7459)" (#7498)dan2025-01-201-72/+0
| | | This reverts commit 5130d19ebdb3267f58e2b6407eb5c4f95107887c.
* [Android] Fix taps triggering while swiping (#7459)gpp2025-01-171-0/+72
| | | | | | | | | | | | | | | * [Android] Fix taps triggering while swiping * Revert "[Android] Try to disambiguate taps from swipes (#7448)" This reverts commit 96054f4addb63994b3d2f5fe1d288f4dd3c246c2. * Update patch to match callstack/react-native-pager-view#961 * Make it symmetrical --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* A simpler fix for trending swipe issue (#7424)dan2025-01-101-0/+36
|
* Downgrade paste input dependency (#7410)Samuel Newman2025-01-091-9/+6
| | | | | * downgrade paste input * rm wnitespace
* Fix double text input in composer (#7381)Samuel Newman2025-01-072-16/+160
| | | | | | | * upgrade paste input * override how backing uitextinput is created * different approach
* Remove upstreamed drawer patch (#7331)dan2025-01-021-876/+0
| | | | | * Remove upstreamed drawer patch * Bump more
* Cropper - opt out of edge-to-edge enforcement on Android 15 (#7254)Samuel Newman2024-12-231-0/+33
| | | | | * opt out of edge-to-edge enforcement * revert unintended change
* Fix Android save to camera permissionsDan Abramov2024-12-201-0/+19
|
* Proper fix for iOS cropper being stuck (#7194)dan2024-12-191-0/+14
| | | | | | | * Revert "Add iOS hack to fix cropper failing to show (#7191)" This reverts commit 25d20c6395a093a6cfc6aed4d08469f7f128f358. * Proper fix
* Bump more native deps (#7129)dan2024-12-164-36/+51
| | | | | | | | | | | * Undo expo modules patch * Upgrade expo modules release * Patch facebook/react-native#46944 * Remove explicit prebuild config dep * Bump to rm duplicates
* Update more Expo packages (#7127)dan2024-12-164-0/+0
| | | | | | | * Bump Expo resolutions * Bump packages * Bumpy bump
* Fix video uploads on native (#7126)dan2024-12-161-0/+20
| | | | | * Fix duplicate expo-modules-core * Patch expo/expo#33621
* Fix image upload on native (#7121)dan2024-12-151-12/+65
|
* Fix posting images on web (#7105)dan2024-12-141-0/+48
| | | | | | | * Fix uploadBlob to handle blob: URI * Patch expo-image-manipulator to support "compress" argument * Narrow down the fix
* configure the bitdrift Capture SDK (#6979)Snow Pettersen2024-12-122-0/+18
| | | | | | | | | | | | | | | * configure bitdrift Capture SDK * remove console log * use the new url * add patch to fix devtool interaction * update patches * fix patch * add BITDRIFT_API_KEY to .env.example
* Fix drawer swipe (#7007)dan2024-12-101-0/+876
| | | | | | | | | | | | | | | | | | | * Fix drawer swipe * Remove existing setDrawerSwipeDisabled management This is already pretty error-prone. And with tracking whether we're idle it's going to get more complicated. Let's pause and think. * Move setDrawerSwipeDisabled logic into Pager * Remove win/2 threshold It feels super arbitrary and breaks muscle memory. If the gesture is reliable, we shouldn't need it. * Maybe work around iOS freeze * Tweak gestures, add comments * Tune gestures
* clean rn 0.76 upgrade (#6887)Hailey2024-12-0620-727/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package upgrades * upgrade system ui * update patches * rename patch * rm * use .set/.set * resolve yarnlock * fix accidentally removed package * fix use permissions hook * fix some type errors * type fixes * more tweaking * clean * Discard changes to src/screens/Onboarding/StepProfile/index.tsx * oops * fix splash * use ios/android in config * Fix tests * add back patch * add to rn patch * fullscreen? * Revert "add to rn patch" This reverts commit 4716d2c643a29fc77b871ca8555d8d78cb4ac427. * try this * test with revert * test * maybe this * fix config * Bump @react-native-picker/picker * Bump some packages * Rm unused * Update lockfile * Rename expo-notifications+0.29.8.patch.md to expo-notifications+0.29.10.patch.md * Update react-native+0.76.3.patch.md * Update react-native+0.76.3.patch.md * Inline splash configs Jumping around the file is annoying and makes it harder to understand how this is structured. * Start fixing Android splash * Downgrade compressor This version isn't building for me due to https://github.com/numandev1/react-native-compressor/issues/322. * Make Android splash empty for now * Work around a bug * Bump the compressor * Bump again * Include splash fixes * Try updating * No custom Android splash * Revert to using icons * welp * Fix sizes * Make sizing work * Bump size --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix camera orientation on Android (#6729)dan2024-11-251-0/+39
|
* [Android] Patch react-native-svg to cache parsed paths (#6583)dan2024-11-211-0/+57
|
* Patch RCTScrollView to fix centerContent (#6298)dan2024-11-131-12/+125
|
* Update Reanimated (#6126)dan2024-11-051-209/+0
| | | | | | | | | * Update Reanimated * Fix types * Fix Reanimated value access warnings * Fix types
* Fix some images getting squished on Android due to EXIF tags (#6058)dan2024-11-011-0/+18
|
* Properly patch React Native to fix iOS `RefreshControl` bug (#5605)Hailey2024-10-041-17/+63
|
* Tweak RN patch (#5477)Hailey2024-09-241-7/+7
|
* [React Native] Patch `RCTFileReaderModule` `readAsDataURL` to prevent crash ↵Hailey2024-09-241-2/+15
| | | | when `type` is `nil` (#5475)
* patch expo modules again (#5441)Samuel Newman2024-09-201-2/+14
|
* Update sentry sourcemaps upload (#5409)Hailey2024-09-181-0/+21
|
* remove expo-sentry (#5405)Hailey2024-09-181-16/+0
|
* Revert unneeded changes to `expo-modules-core` patch (#5393)Hailey2024-09-181-25/+0
|
* Temporary Sentry hack patch for iOS 18 (#5400)Hailey2024-09-181-0/+16
|
* [Video] Use `expo-video` from fork (#5159)Hailey2024-09-052-639/+0
|
* [Video] Add loading state to player (#5149)Hailey2024-09-042-30/+94
|
* [Video] Manage foreground/background playback on the native side (#5104)Hailey2024-09-032-4/+100
|
* [Video] Say No to Audio (Disable `expo-video` `AudioSession` management) (#5101)Hailey2024-09-032-28/+121
|
* tweak (#5024)Hailey2024-08-291-7/+5
|
* [Video] Add `timeRemainingChange` event to `player` in `expo-video` (#5013)Hailey2024-08-291-11/+258
|
* Tweak `expo-modules-core` hack patch (#4955)Hailey2024-08-181-4/+4
|
* Hack patch for testing OTA update crash behavior (#4942)Hailey2024-08-151-3/+16
|
* Upgrade API, implement XRPC rework (#4857)Hailey2024-08-121-28/+0
| | | | Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>