{"id":20332289,"url":"https://github.com/wavemaker/wm-filepicker-plugin","last_synced_at":"2025-09-14T14:48:09.790Z","repository":{"id":55652015,"uuid":"265835110","full_name":"wavemaker/wm-filepicker-plugin","owner":"wavemaker","description":"Cordova plugin that exposes API to select images, videos, audio and files.","archived":false,"fork":false,"pushed_at":"2024-04-07T04:51:20.000Z","size":778,"stargazers_count":4,"open_issues_count":2,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T19:25:47.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavemaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-21T11:49:19.000Z","updated_at":"2024-04-26T08:44:51.000Z","dependencies_parsed_at":"2024-04-07T05:28:58.081Z","dependency_job_id":"1b7f9dc1-61ed-4507-8902-fa4b3ca48b90","html_url":"https://github.com/wavemaker/wm-filepicker-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wavemaker/wm-filepicker-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavemaker%2Fwm-filepicker-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavemaker%2Fwm-filepicker-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavemaker%2Fwm-filepicker-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavemaker%2Fwm-filepicker-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavemaker","download_url":"https://codeload.github.com/wavemaker/wm-filepicker-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavemaker%2Fwm-filepicker-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275120800,"owners_count":25409025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T20:25:51.477Z","updated_at":"2025-09-14T14:48:09.766Z","avatar_url":"https://github.com/wavemaker.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# wm-cordova-plugin-filepicker\n\nCordova plugin that exposes API to select images, videos, audio and files. This plugin supports both Android and iOS. In iOS, this plugin doesn't support selecting multiple files.\n\n## ANDROID\nIMAGE|VIDEO|AUDIO|FILE\n-----|-----|-----|----\n\u003cimg src=\"assets/android/image_sel_preview.png\" width=\"200px\"\u003e|\u003cimg src=\"assets/android/video_sel_preview.png\" width=\"200px\"\u003e|\u003cimg src=\"assets/android/audio_sel_preview.png\" width=\"200px\"\u003e|\u003cimg src=\"assets/android/file_sel_preview.png\" width=\"200px\"\u003e\n\n## IOS\nIMAGE|VIDEO|AUDIO|FILE\n-----|-----|-----|----\n\u003cimg src=\"assets/ios/image_sel_preview.jpg\" width=\"200px\"\u003e|\u003cimg src=\"assets/ios/video_sel_preview.jpg\" width=\"200px\"\u003e|\u003cimg src=\"assets/ios/audio_sel_preview.jpg\" width=\"200px\"\u003e|\u003cimg src=\"assets/ios/file_sel_preview.jpg\" width=\"200px\"\u003e\n\nIn config.xml, under ios platform add the following. Descriptions can be altered.\n```\n\u003cpreference name=\"SwiftVersion\" value=\"4.2\"/\u003e\n```\n```\n\u003cedit-config target=\"NSAppleMusicUsageDescription\" mode=\"merge\" file=\"*-Info.plist\"\u003e\n\t\u003cstring\u003eneed music library access to upload audio files\u003c/string\u003e\n\u003c/edit-config\u003e\n```\n```\n\u003cedit-config target=\"NSPhotoLibraryAddUsageDescription\" file=\"*-Info.plist\" mode=\"merge\"\u003e\n    \u003cstring\u003eneed photo library access to save pictures there\u003c/string\u003e\n\u003c/edit-config\u003e\n```\n```\n\u003cedit-config target=\"NSPhotoLibraryUsageDescription\" file=\"*-Info.plist\" mode=\"merge\"\u003e\n    \u003cstring\u003eneed photo library access to get pictures from there\u003c/string\u003e\n\u003c/edit-config\u003e\n```\n\n## API\n\n    cordova.wavemaker.filePicker.selectAudio(\n\t    true, //to select multiple audio files\n\t    function(selectedFilePaths) {\n\t      // code to use the selected audio file paths\n\t    }, function(error) {\n\t      // handle error\n\t    });\n    \n    cordova.wavemaker.filePicker.selectFiles(\n\t    true, // to select multiple files\n\t    function(selectedFilePaths) {\n\t      // code to use the selected file paths\n\t    }, function(error) {\n\t      // handle error\n\t    });\n\n    cordova.wavemaker.filePicker.selectImage(\n\t    true, // to select multiple images\n\t    function(selectedFilePaths) {\n\t      // code to use the selected image file paths\n\t    }, function(error) {\n\t      // handle error\n\t    });\n    \n    cordova.wavemaker.filePicker.selectVideo(\n\t    true, // whether to select multiple Videos\n\t    function(selectedFilePaths) {\n\t      // code to use the selected file paths\n\t    }, function(error) {\n\t      // handle error\n\t    });\n\n## License\nApache License - 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavemaker%2Fwm-filepicker-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavemaker%2Fwm-filepicker-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavemaker%2Fwm-filepicker-plugin/lists"}