This repository was archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
This repository was archived by the owner on Oct 3, 2024. It is now read-only.
Problem with stack rationale dialog #193
Closed
Labels
Milestone
@mgolebiowski95
Description
Basic Information
Device type: ________
OS version: ________
EasyPermissions version: 1.0.1
Describe the problem
What happened? What did you expect to happen?
When I executed code below code 0 in onStart() every time show new rationale dialog over previous dialog. If dialog is exist new dialog should'nt show. A good solution would be to add a method that checks whether or not a rationale dialog is shown code 1 and code 2
Code and logs
code 0:
EasyPermissions.requestPermissions(this,
"To function properly, App needs your permissions. Allow permissions for App",
RC_REQUIRED_PERM,
REQUESTED_PERMISSIONS_ON_START);
code 1:
code 2:
// TODO(you): show the code that produces the problem,
execute code 0 in onStart() ex. go to background and returning to application more than 1 time