- 
                Notifications
    
You must be signed in to change notification settings  - Fork 914
 
feat: corrects flow of sd card permission #2898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 
           @iamareebjamal Check this  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not permissions. These are blocking these permissions
2180888    to
    d18f9a5      
    Compare
  
    | } | ||
| 
               | 
          ||
| public static boolean shouldShowPermissionRationale( | ||
| Object o, int permissionId, String permission) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this receiving object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has always been receiving object, will change it.
| public static void requestPermissions( | ||
| Activity activity, int permissionId, String... permissions) { | ||
| ActivityCompat.requestPermissions(activity, permissions, permissionId); | ||
| } | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is useless. Remove this method
| } | ||
| 
               | 
          ||
| public static boolean shouldShowPermissionRationale(Activity activity, String permission) { | ||
| return ActivityCompat.shouldShowRequestPermissionRationale(activity, permission); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
| 
           @iamareebjamal Check it now  | 
    
| 
           @iamareebjamal Please check now  | 
    
| 
           I'm travelling. In train RN  | 
    
| 
           @iamareebjamal Please xheck this!  | 
    
| 
           @iamareebjamal please process  | 
    
feat:
removes unnecessary permission from manifest andcorrects flow of sd card permissionFixed #2897
Changes: Removes unnecessary permission from manifest , flow of sd card permission handled
Screenshots of the change: