Commit 9bb69a73eb87adfe444fe5bf4e2f031f74174868
1 parent
965e9ce4
Exists in
master
Add "audio/*" to default accepted file types
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
android/src/main/java/com/rncustomwebview/CustomWebViewModule.java
... | ... | @@ -38,7 +38,7 @@ public class CustomWebViewModule extends ReactContextBaseJavaModule implements A |
38 | 38 | private Uri outputFileUri; |
39 | 39 | |
40 | 40 | // @todo this could be configured from JS |
41 | - final String[] DEFAULT_MIME_TYPES = {"image/*", "video/*"}; | |
41 | + final String[] DEFAULT_MIME_TYPES = {"image/*", "video/*", "audio/*"}; | |
42 | 42 | |
43 | 43 | final String TAKE_PHOTO = "Take a photo…"; |
44 | 44 | final String TAKE_VIDEO = "Record a video…"; | ... | ... |