Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
Redmi Note 5 Pro - Android 9 Pie
Description
Steps to Reproduce
- Click on "Customer" in side drawer.
- Click on any item in list of customers.
- Click on the profile picture (by default it's the Mifos Logo)
- Click on "Share" option in the appbar.
Summary
Supposing the permission to write to external storage is not given, it'll ask for permission. When granted it should ideally call the "shareImage" method, but nothing happens. This is because when the Permission is being granted, it's checking for "CAMERA" permission instead of "WRITE_EXTERNAL_STORAGE" permission. It occurs when the permission is being granted initially and later, this error does not occur.
Expected Behaviour
When the Permission is granted for the first time, it should perform "share" feature wihout requiring the user to click on share icon in app bar. (1 Click on "share" is expected)
Observed Behaviour
When the Permission is granted for the first time,nothing happens. The user has to again click on "share" icon in app bar to use share feature. (2 Clicks on "share" is required)