-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Gr1zlY/handleRequestPermissions
handleRequestPermissionsResult function added to android plugin
- Loading branch information
Showing
3 changed files
with
89 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
android/src/main/java/com/getcapacitor/community/media/MediaPluginRequestCodes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.getcapacitor.community.media; | ||
|
||
public class MediaPluginRequestCodes { | ||
public static final int MEDIA_READ_EXTERNAL_STORAGE_PERMISSION = 19861; | ||
public static final int MEDIA_WRITE_EXTERNAL_STORAGE_PHOTO_PERMISSION = 19862; | ||
public static final int MEDIA_WRITE_EXTERNAL_STORAGE_VIDEO_PERMISSION = 19863; | ||
public static final int MEDIA_WRITE_EXTERNAL_STORAGE_CREATE_ALBUM_PERMISSION = 19864; | ||
public static final int MEDIA_WRITE_EXTERNAL_STORAGE_PERMISSION = 19865; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters