Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

permission request popup does not appear
Started by chodongwon82 Oct 13 2019 09:11 AM

6 replies to this topic

Best Answer XeduR @Spyric , 23 October 2019 - 06:52 AM

What exactly does your app do that requires a government agency to threaten you with fines? I can't comprehend how saving files to an SD card could result in fines.

 

You can look at https://docs.coronalabs.com/native/android/permissionSupport.html#about-android-runtime-permissions

Alternatively, you can check to see if you have access to the remote storage (https://docs.coronalabs.com/api/library/system/getInfo.html#android). I don't think that even if the permission is listed in the build.settings that it is on by default, so if and when getInfo() tells you that it isn't active, you create a custom pop (such as a black rectangle that covers the screen and white text) that tells the user to go activate it from the app settings.

 

-

Now, I think that Appodeal's external storage needs might fall under something that does not require a specific permission (see https://developer.android.com/training/data-storage/files/external-scoped). Appodeal is most likely just caching ads and it doesn't require access to whatever else files you may have on your external storage. Again, I'd want to know how, why or what some Korean government agency is trying to fine you for.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

chodongwon82

[GLOBAL: userInfoPane.html]
chodongwon82
  • Enthusiast

  • 61 posts
  • Corona SDK

I'm using a "appodeal" plugin and it contains "WRITE_EXTERNAL_STORAGE" permissions.
 
However, when I run the app first time, the permission request popup(like "allow access to... blah blah..") does not appear.
 
Is this normal? I think it's a bug.
 
How do I get a permission request popup appear?


[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 981 posts
  • Corona SDK

If I'm understanding your question correctly, then that permission is given when the user downloads the app from Google Play (or from other instances).

 

Whatever permissions you add to your build.settings are shown and need to be accepted by the user at the moment of download/install, so by the time the app is run for the first time, that permission has already been given. I don't think there is any way to later deny that permission either.



[TOPIC: post.html]
#3

chodongwon82

[GLOBAL: userInfoPane.html]
chodongwon82
  • Enthusiast

  • 61 posts
  • Corona SDK

Thank you for your detailed answer!!! :)

 

If I'm understanding your question correctly, then that permission is given when the user downloads the app from Google Play (or from other instances).

 

Whatever permissions you add to your build.settings are shown and need to be accepted by the user at the moment of download/install, so by the time the app is run for the first time, that permission has already been given. I don't think there is any way to later deny that permission either.



[TOPIC: post.html]
#4

chodongwon82

[GLOBAL: userInfoPane.html]
chodongwon82
  • Enthusiast

  • 61 posts
  • Corona SDK

I thought the question was solved. (Checked on test devices running Android 5.0.1)
But
On Android 6.0 and higher test devices, the permission agreement popup does not appear when installing the game.
Does anyone know of this bug?
 
I received an email from a Korean public agency
asking me to add a popup (at installation or app launch).
They said that if I didn't fix, they could fine me according to the law. :(

 

If I'm understanding your question correctly, then that permission is given when the user downloads the app from Google Play (or from other instances).

 

Whatever permissions you add to your build.settings are shown and need to be accepted by the user at the moment of download/install, so by the time the app is run for the first time, that permission has already been given. I don't think there is any way to later deny that permission either.



[TOPIC: post.html]
#5

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 981 posts
  • Corona SDK

  Best Answer

What exactly does your app do that requires a government agency to threaten you with fines? I can't comprehend how saving files to an SD card could result in fines.

 

You can look at https://docs.coronalabs.com/native/android/permissionSupport.html#about-android-runtime-permissions

Alternatively, you can check to see if you have access to the remote storage (https://docs.coronalabs.com/api/library/system/getInfo.html#android). I don't think that even if the permission is listed in the build.settings that it is on by default, so if and when getInfo() tells you that it isn't active, you create a custom pop (such as a black rectangle that covers the screen and white text) that tells the user to go activate it from the app settings.

 

-

Now, I think that Appodeal's external storage needs might fall under something that does not require a specific permission (see https://developer.android.com/training/data-storage/files/external-scoped). Appodeal is most likely just caching ads and it doesn't require access to whatever else files you may have on your external storage. Again, I'd want to know how, why or what some Korean government agency is trying to fine you for.


  • pixec likes this

[TOPIC: post.html]
#6

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,255 posts
  • Corona SDK

Are they requesting the fine be paid via crypto currency? I suspect that is just a spam e-mail.



[TOPIC: post.html]
#7

chodongwon82

[GLOBAL: userInfoPane.html]
chodongwon82
  • Enthusiast

  • 61 posts
  • Corona SDK

appreciative of your comment.

 

1. They began monitoring(&send an official document) on apps that don't have step of user's ALLOW. (such as the example below).

Because my place of business is in South Korea.

different_permissions_2.png

 

2. and I checked the issue of Appodeal banner ads not appearing without "WRITE_EXTERNAL_STORAGE"

 

3. now I'm thinking about creating a custom popup as your advice. :)




[topic_controls]
[/topic_controls]