Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

READ_EXTERNAL_STORAGE issue
Started by jhow May 08 2017 10:17 AM

5 replies to this topic
build.settings read_external_storage permissions

Best Answer jhow , 08 May 2017 - 01:13 PM

@Scott Harrison and @SphereGameStudios,

 

Thank you for your response!

 

I may have found the true root of the issue, which relates to this post.

 

Although we didn't have READ_EXTERNAL_STORAGE, we did have WRITE_EXTERNAL_STORAGE. According to that post, when WRITE_EXTERNAL_STORAGE is used, READ_EXTERNAL_STORAGE is implicit.

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jhow

[GLOBAL: userInfoPane.html]
jhow
  • Contributor

  • 159 posts
  • Enterprise

Hello, 

 

We are currently trying to get promoted by Google. In the process, Google found a few permissions that we need to document for them. One such permission was READ_EXTERNAL_STORAGE, which we have no where in our build.settings. 

 

Why might they find this permission when we haven't added it to our project ourselves?

 

Thank you!



[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,855 posts
  • Enterprise

Hello, 

 

We are currently trying to get promoted by Google. In the process, Google found a few permissions that we need to document for them. One such permission was READ_EXTERNAL_STORAGE, which we have no where in our build.settings. 

 

Why might they find this permission when we haven't added it to our project ourselves?

 

Thank you!

Certain plugins may add permissions. You may want to post the list of plugins in use.

 

Edit: I noticed your have corona enterprise so this would not affecting if you are building though android studio and Xcode vs corona simulator



[TOPIC: post.html]
#3

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,219 posts
  • Corona SDK

Any ads plugin would add this permission



[TOPIC: post.html]
#4

jhow

[GLOBAL: userInfoPane.html]
jhow
  • Contributor

  • 159 posts
  • Enterprise

  Best Answer

@Scott Harrison and @SphereGameStudios,

 

Thank you for your response!

 

I may have found the true root of the issue, which relates to this post.

 

Although we didn't have READ_EXTERNAL_STORAGE, we did have WRITE_EXTERNAL_STORAGE. According to that post, when WRITE_EXTERNAL_STORAGE is used, READ_EXTERNAL_STORAGE is implicit.



[TOPIC: post.html]
#5

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,219 posts
  • Corona SDK

Exactly, ads write to external storage but then they have to read from it... common sense really ;)



[TOPIC: post.html]
#6

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

@jhow.

I'm just curious. Do you actually see READ_EXTERNAL_STORAGE in your final APK's Android manifest (you shouldn't)?

You can use apktool to decompile the APK.

 

The reason I'm asking is because if you *do* see READ explicitly in the manifest then some more investigation is required.

If not, then everything is OK and Google is just flagging the implicit READ from the WRITE permission.




[topic_controls]
[/topic_controls]