[ncl] Some improvements to the hash placeholders demo (#22134)Co-authored-by: Tomasz Sapeta <[email protected]>
[ncl] Rework expo-image examples in native-component-list (#19884)
[NCL] rename example3.webp to example4.webp (#16655)# Why fix the gradle release build error on macos. ``` > Task :app:mergeReleaseResources FAILED
[NCL] rename example3.webp to example4.webp (#16655)# Why fix the gradle release build error on macos. ``` > Task :app:mergeReleaseResources FAILED ERROR:[drawable-mdpi-v4/_nativecomponentlist_assets_images_example3] /Users/kudo/01_Work/Repos/expo/expo/apps/bare-expo/android/app/build/generated/res/react/release/drawable-mdpi/_nativecomponentlist_assets_images_example3.webp [drawable-mdpi-v4/_nativecomponentlist_assets_images_example3] /Users/kudo/01_Work/Repos/expo/expo/apps/bare-expo/android/app/build/ generated/res/react/release/drawable-mdpi/_nativecomponentlist_assets_images_example3.jpg: Resource and asset merger: Duplicate resources ``` # How rename example3.webp to example4.webp # Test Plan `cd /path/to/expo/expo/apps/bare-expo/android && ./gradlew :app:assembleRelease`
show more ...
[ncl] update Expo URLs, small tweaks (#15092)
[android][image] Add `defaultSource` prop to `ExpoImage` component (#14178)
[eslint-config] bump dependencies and minimum required lint tools versions (#13858)Co-authored-by: James Ide <[email protected]>
[image] Add SVG support (#13503)# Why To extend supported formats. Superseding #7385. # How Used SDWebImageSVGKitPlugin & androidsvg, copied SVG example from Glide repository. Currently,
[image] Add SVG support (#13503)# Why To extend supported formats. Superseding #7385. # How Used SDWebImageSVGKitPlugin & androidsvg, copied SVG example from Glide repository. Currently, there's a problem with SVGKit which doesn't compile on the 3.0 version (required by a newer version of SVGKitPlugin) so I didn't allow changing plugin version on iOS. # Test Plan Tested on bare-expo. Note I didn't update Podfile.lock - bare-expo doesn't work well with Flipper and I applied a patch removing it which changes the state of the lock file.
[image] Add webP support (#13416)# Why To extend the range of supported formats. # How Supporting webP boiled down to adding new codecs for Glide and SDWebImage. Both use libwebp for decod
[image] Add webP support (#13416)# Why To extend the range of supported formats. # How Supporting webP boiled down to adding new codecs for Glide and SDWebImage. Both use libwebp for decoding. The web version should be supported [natively](https://caniuse.com/webp). I added new test files using git LFS. In the future, we probably want to make additional codecs opt-in in order to not increase app size when certain formats aren't used. # Test Plan Tested on bare-expo. https://user-images.githubusercontent.com/12465392/123523749-00c96780-d6c6-11eb-856d-c120dbb5a2a3.mov
[ncl] Fix lint warnings (#10443)# Why Let's make NCL a top-notch application, always tidy etc. # How - configured ESLint for NCL - fixed all warnings automatically - changed manually all
[ncl] Fix lint warnings (#10443)# Why Let's make NCL a top-notch application, always tidy etc. # How - configured ESLint for NCL - fixed all warnings automatically - changed manually all `React.Component<object, …` that ESLint "automatically fixed" to `<{}` as per https://github.com/expo/expo/pull/10229#discussion_r490961694 # Test Plan `yarn lint` no longer warns about warnings.
[expo-image] Emitting events (#7375)# Why We want to inform developers of certain events related to image view. # How - iOS: - `SDWebImage` lets us tap in to receive events with `progre
[expo-image] Emitting events (#7375)# Why We want to inform developers of certain events related to image view. # How - iOS: - `SDWebImage` lets us tap in to receive events with `progressBlock` and `completionBlock` - implemented such two blocks that emit events to JS - Android: - Glide doesn't let us register fot events that easily - we have to implement our own "downloading backend" — we're using OkHttp (`ExpoImageOkHttpClientGlideModule`), we register request interceptors with the `GlideModule` - those interceptor singletons are able to inform listeners of new events (`response` and `progress`) - an image view registers for events at those listeners and emits events Implementation of fetching of the `BitmapFactory.Options` is based on [this Glide's author answer](https://github.com/bumptech/glide/issues/781#issuecomment-160953996). # Test Plan I tested that the events are emitted manually. I will also add a `test-suite` test.
[expo-image] Add expo-image test app to NCL (#7345)* [expo-image] Add expo-image test app to NCL * [expo-impage] Add source tests * [expo-image] Add option to select next/prev test * [expo
[expo-image] Add expo-image test app to NCL (#7345)* [expo-image] Add expo-image test app to NCL * [expo-impage] Add source tests * [expo-image] Add option to select next/prev test * [expo-image] Rename tests * [expo-image] Show scrollview with all tests compared to RN Image component * [expo-image] Add button to switch to category view to test app * [expo-image] Update icon in NCL * [expo-image] Update test-app to use expo-image component * [expo-image] Remove old ExpoImage test from NCL * [expo-image] Fix test-app on web