Android Question screen overlay detected

kuosda

Active Member
Licensed User
Longtime User
Hello, everybody.
Add this code (1.jpg)
Have you ever encountered such a problem (2.jpg)?
what should I do?
 

Attachments

  • 1.jpg
    1.jpg
    250.3 KB · Views: 249
  • 2.jpg
    2.jpg
    182.3 KB · Views: 264

JordiCP

Expert
Licensed User
Longtime User
Screen overlays are considered 'dangerous' in latest Android versions, specially when certain user interaction is required, as they can be used to cheat the user.

It is possibly due to the ToastMessageShow just before requesting a permission. Try to remove it and see what happens
 
Upvote 0

kuosda

Active Member
Licensed User
Longtime User
Hello JordiCP
Do you think RuntimePermissions is really problematic but I can't clearly describe it?
For example, if I sent rp.CheckAndRequest(...) more than twice, there will only be a message box to confirm that the rest of the response's Result is false and there is no message box. I don't know if Erel found it.
 
Upvote 0

kuosda

Active Member
Licensed User
Longtime User
Hello Erel
I removed the ToastMessageShow.... status no longer occurs.
But I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug?
 
Upvote 0
Top