Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file/pull/170#discussion_r56606932 --- Diff: src/android/FileUtils.java --- @@ -73,8 +73,11 @@ Licensed to the Apache Software Foundation (ASF) under one * Permission callback codes */ - public static final int READ_PERM = 0; - public static final int WRITE_PERM = 1; + public static final int PERM_FILE = 0; + public static final int WRITE_ACTION = 1; + public static final int PERM_DIR = 2; + public static final int WRITE = 3; + public static final int READ = 4; --- End diff -- WRITE_ACTION corresponds to the handler for the write api call. READ and WRITE corresponds to the permission being asked for.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org