Skip to content

Commit

Permalink
chore: update extensions allowed by ios app
Browse files Browse the repository at this point in the history
  • Loading branch information
b4s36t4 committed Aug 12, 2023
1 parent ed2c287 commit 7141665
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 @@ -787,8 +787,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 7141665

Please sign in to comment.