Created
September 15, 2020 12:38
-
-
Save tolunayozturk/289127f5cf40677d69ffe5911b114ea0 to your computer and use it in GitHub Desktop.
Request permissions for phone storage
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
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { | |
requestPermissions(PERMISSIONS_STORAGE, 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment