Skip to content

Commit

Permalink
Merge pull request #24493 from b4s36t4/update-allowed-extensions
Browse files Browse the repository at this point in the history
chore: update extensions allowed by ios app
  • Loading branch information
youssef-lr authored Aug 26, 2023
2 parents 4a8c1a7 + 7141665 commit c169952
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,10 @@ const CONST = {
},

FILE_TYPE_REGEX: {
IMAGE: /\.(jpg|jpeg|png|webp|avif|gif|tiff|wbmp|ico|jng|bmp|heic|svg|svg2)$/,
VIDEO: /\.(3gp|h261|h263|h264|m4s|jpgv|jpm|jpgm|mp4|mp4v|mpg4|mpeg|mpg|ogv|ogg|mov|qt|webm|flv|mkv|wmv|wav|avi|movie|f4v|avchd|mp2|mpe|mpv|m4v|swf)$/,
// Image MimeTypes allowed by iOS photos app.
IMAGE: /\.(jpg|jpeg|png|webp|gif|tiff|bmp|heic|heif)$/,
// Video MimeTypes allowed by iOS photos app.
VIDEO: /\.(mov|mp4)$/,
},
IOS_CAMERAROLL_ACCESS_ERROR: 'Access to photo library was denied',
ADD_PAYMENT_MENU_POSITION_Y: 226,
Expand Down

0 comments on commit c169952

Please sign in to comment.