Skip to content

Commit

Permalink
[media-library] Add missing image loader for MediaLibrary in bare wor…
Browse files Browse the repository at this point in the history
…kflow (#8304)

# Why

Fixes #7826

# How

- Added `EXMediaLibraryImageLoader` module that implements `RCTImageURLLoader` so it will be used to load images with `assets-library://` and `ph://` schemes.

# Test Plan

Tested MediaLibrary examples in both bare and manage workflows. Photos are rendering correctly now.
  • Loading branch information
tsapeta committed May 15, 2020
1 parent 94fb9a0 commit 758c4d1
Show file tree
Hide file tree
Showing 20 changed files with 439 additions and 246 deletions.
3 changes: 2 additions & 1 deletion apps/bare-expo/ios/Podfile.lock
Expand Up @@ -122,6 +122,7 @@ PODS:
- UMCore
- UMFileSystemInterface
- EXMediaLibrary (8.1.0):
- React
- UMCore
- UMFileSystemInterface
- UMPermissionsInterface
Expand Down Expand Up @@ -876,7 +877,7 @@ SPEC CHECKSUMS:
EXLocalization: 1997068470bdfb7601fd58dbbf85ba1cde36fb82
EXLocation: bbd487fd96a18a3ad9725389bbb94c4a5f78edf3
EXMailComposer: 8efe254989ceace18681b98c049c6c0209d4ae56
EXMediaLibrary: 02a13521d05ca381b08f7d745a9602569eade072
EXMediaLibrary: aa151e6f6f977543c24222d57a1caad4b7facfbc
EXNetwork: 1f9719a912524abc04d06a27a0fdf25bacdd4aad
EXNotifications: cc5d647c15b5f00602e1c4f7244d6a3a15dd2eb6
EXPermissions: 24b97f734ce9172d245a5be38ad9ccfcb6135964
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

260 changes: 143 additions & 117 deletions apps/bare-expo/ios/Pods/EXMediaLibrary.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion apps/bare-expo/ios/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ios/Podfile.lock
Expand Up @@ -1605,6 +1605,7 @@ PODS:
- UMCore
- UMFileSystemInterface
- EXMediaLibrary (8.1.0):
- React
- UMCore
- UMFileSystemInterface
- UMPermissionsInterface
Expand Down Expand Up @@ -3841,7 +3842,7 @@ SPEC CHECKSUMS:
EXLocalization: 1997068470bdfb7601fd58dbbf85ba1cde36fb82
EXLocation: bbd487fd96a18a3ad9725389bbb94c4a5f78edf3
EXMailComposer: 8efe254989ceace18681b98c049c6c0209d4ae56
EXMediaLibrary: 02a13521d05ca381b08f7d745a9602569eade072
EXMediaLibrary: aa151e6f6f977543c24222d57a1caad4b7facfbc
EXNetwork: 1f9719a912524abc04d06a27a0fdf25bacdd4aad
EXNotifications: cc5d647c15b5f00602e1c4f7244d6a3a15dd2eb6
EXPermissions: 24b97f734ce9172d245a5be38ad9ccfcb6135964
Expand Down
6 changes: 4 additions & 2 deletions ios/Pods/.project_cache/installation_cache.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 758c4d1

Please sign in to comment.