mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Allow Heif/Heic Assets (#54640)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54640 # Summary: Trying to add heif/heic files to the ReactVRPlayground but they are not included to metro. Codegen via ``` js1 build buckfiles arc build ``` Insired by D58261501 Changelog: [General][Added] - Bundle support for heic and heif files ___ overriding_review_checks_triggers_an_audit_and_retroactive_review Oncall Short Name: vr_metacam Reviewed By: lenaic, robhogan, javache Differential Revision: D86807752 fbshipit-source-id: 0fd2271f46dc8bc5d568360c50dcd2db067923f6
This commit is contained in:
1 parent
f7145dc83a
commit
f472ef980a
3 files changed
+5
-1
No files matched your search
@@ -41,6 +41,8 @@ function getAndroidAssetSuffix(scale: number): string {
|
||||
// See https://developer.android.com/guide/topics/resources/drawable-resource.html
|
||||
const drawableFileTypes: Set<string> = new Set<string>([
|
||||
'gif',
|
||||
'heic',
|
||||
'heif',
|
||||
'jpeg',
|
||||
'jpg',
|
||||
'png',
|
||||
|
||||
Reference in new issue
Block a user