Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20235] Android 6.0: requestStoragePermission is needed for various use cases

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2016-02-03T07:12:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterAshraf Abu
AssigneeAshraf Abu
Created2016-01-14T05:05:32.000+0000
Updated2017-03-24T18:26:26.000+0000

Description

In Android 6.0, loading remote images requires storage permission. It doesn't need camera permissions. A separate permission is required just for requesting storage permission. Example of use case is TIMOB-19899.

Comments

  1. Fokke Zandbergen 2016-01-15

    The implementation should include that if we find this method in the code, we also insert the required elements in the tiapp.xml manifest. I've requested the same for the other request*Permission methods in TIMOB-19933. It was argumented that it would not be relevant because why would you request the permission if you don't use it, but with this new request I think we should do so for all request permission methods for the sake of predictability.
  2. Dongwoo Gim 2016-01-20

    I've submitted pull request. https://github.com/appcelerator/titanium_mobile/pull/7640 And, make module for immediate use. https://github.com/gimdongwoo/Ti-Android-RequestStoragePermission
  3. Fokke Zandbergen 2016-01-26

  4. Ashraf Abu 2016-02-03

    Resolving this as duplicate of TIMOB-20251
  5. Lee Morris 2017-03-24

    Closing ticket as duplicate with reference to the linked issues.

JSON Source