feat(flash board): add SWF posting support (#1145)

This commit is contained in:
Tommaso Casaburi
2026-05-30 16:07:41 +07:00
committed by GitHub
parent 56894700c1
commit 9b3a95dd95
69 changed files with 1372 additions and 63 deletions
@@ -44,7 +44,14 @@ public class FileUploaderPlugin extends Plugin {
}
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("*/*");
String[] mimeTypes = {"image/jpeg", "image/png", "video/mp4", "video/webm"};
String[] mimeTypes = {
"image/jpeg",
"image/png",
"video/mp4",
"video/webm",
"application/x-shockwave-flash",
"application/vnd.adobe.flash.movie"
};
intent.putExtra(Intent.EXTRA_MIME_TYPES, mimeTypes);
startActivityForResult(call, intent, "pickFileResult");
}