diff --git a/src/plugins/imagepicker.ts b/src/plugins/imagepicker.ts index 800167348..fdc898304 100644 --- a/src/plugins/imagepicker.ts +++ b/src/plugins/imagepicker.ts @@ -62,4 +62,22 @@ export class ImagePicker { }) static getPictures(options: ImagePickerOptions): Promise { return; } + /** + * Check if we have permission to read images + * @returns {Promise} Returns a promise that resolves with a boolean that indicates whether we have permission + */ + @Cordova({ + platforms: ['Android'] + }) + static hasReadPermission(): Promise { return; } + + /** + * Request permission to read images + * @returns {Promise} + */ + @Cordova({ + platforms: ['Android'] + }) + static requestReadPermission(): Promise { return; } + }