Uploaded image for project: 'Fineract Cloud Native'
  1. Fineract Cloud Native
  2. FINCN-203

Checking for Camera Permission instead of Write Permission in CustomerProfileActivity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • fineract-cn-mobile
    • None
    • Redmi Note 5 Pro - Android 9 Pie

    Description

      Steps to Reproduce

      1. Click on "Customer" in side drawer.
      2. Click on any item in list of customers.
      3. Click on the profile picture (by default it's the Mifos Logo)
      4. 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)

      Attachments

        1. 203issue-gif.gif
          4.92 MB
          Prajwal S Belagavi
        2. FINCN-203.mp4
          3.31 MB
          Prajwal S Belagavi

        Activity

          People

            Unassigned Unassigned
            prajwal27 Prajwal S Belagavi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified