Skip to content

Commit

Permalink
feat(expo-plugin-watch): support mp3 and mp4 as resources for xcode l…
Browse files Browse the repository at this point in the history
…inking
  • Loading branch information
CristiCeban committed Apr 30, 2024
1 parent 9de34e4 commit a358439
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugin/src/ios/getFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ export type WidgetFiles = {
};

// TODO: check if need more extensions here???
const resourceFileExtensions = ['png', 'jpg', 'jpeg', 'plist', 'xcassets'];
const resourceFileExtensions = [
'png',
'jpg',
'jpeg',
'plist',
'xcassets',
'mp4',
'mp3',
];

const isResourceFile = (fileExtension?: string) => {
if (!fileExtension) {
Expand Down

0 comments on commit a358439

Please sign in to comment.