question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to find out if user clicked do not ask again?

See original GitHub issue

I haven’t found possibility to check whether it make sense to ask for that permission again. Ideally I would like to have something like

val result = Peko.requestPermission(Bluetooth, context)
when (result)  {
  GRANTED -> proceed()
  DENIED -> postExplanation() //and request again
  BLOCKED -> showDifferentExplanation()
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
deva666commented, May 12, 2019

Fixed in the newest version.

1reaction
deva666commented, Mar 27, 2019

Ok, I’ll look into this for the next version. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

I accidentally clicked don't show again on allow this device to ...
go into the oculus app on your phone, go under settings. tap to connect your quest 2. tap the drop down menu then...
Read more >
Method to detect if user has selected “Don't Ask Again” while ...
This method returns true if the user has previously denied the request. But if the user has selected “Dont' ask again” this method...
Read more >
Accidentally clicked do not show again oculus quest link cable
The answer is to enable the USB Prompt in the Developer menu on the headset. You may have to enabled developer mode on...
Read more >
How to detect if the user clicked the "back" button
IF variable changes to true it means list clicked otherwise back button. This work in my use case. This solution may help others...
Read more >
Add or remove trusted computers - Android - Google Account ...
Add trusted computers and devices. Sign in on a computer or device you trust. When you enter a verification code, select Don't ask...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found