The ULTIMATE Permission Handling Guide (Showing rationale + Permanently Declined)

The ULTIMATE Permission Handling Guide (Showing rationale + Permanently Declined)

Philipp Lackner

1 год назад

42,115 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

jo pad
jo pad - 04.10.2023 09:35

675th...Thanks Philipp

Ответить
Harwinder Benipal
Harwinder Benipal - 14.09.2023 09:47

Hello Philip,

Thank you for the video. I have a question: What's the process for hiding permission buttons when permissions are granted, displaying an alternative UI, and automatically dismissing the dialog when returning from settings without requiring an external click to dismiss it?

Ответить
Tara Desyafriben
Tara Desyafriben - 13.09.2023 13:26

Hi Philipp! Once again: Thank you! You make it so much easier to deal with complex issues, that it now seems almost fun to handle permissions 😄

Ответить
Prabaharan Rajendran
Prabaharan Rajendran - 25.08.2023 21:28

Issue: In material alert dialogue it works fine but not working in material3 alert dialogue.

Ответить
Scotty
Scotty - 17.06.2023 06:16

Great video, but there's one problem, if the user had permanently declined a permission, goes to the app settings via the dialog and selects "ask every time", when he navigates back the "permanently denied" dialog is still shown and if he dismisses it, he won't see the prompt for permission again.

Ответить
Mark Alfonso Cervantes
Mark Alfonso Cervantes - 19.05.2023 23:46

I know this is too noob. but I don't understand where to handle the "permission granted" in this scenario ._.

Ответить
Antonio Fernandez
Antonio Fernandez - 20.04.2023 07:57

Hi, thanks for the video.

The code has an error. When you decline the second permission for the first time and then accept, the permanently declined dialog will appear anyway for the first permission.

Just telling you this to fix the code and inform somehow the rest of the people.

Thanks for the rest, great content.

Ответить
Kyle Angelo Gonzales
Kyle Angelo Gonzales - 08.04.2023 12:59

what's the advantage of this system over the accompanist permissions API?

Ответить
Raviraj Darisi
Raviraj Darisi - 07.04.2023 09:49

Ths is amazing, Even Google does not have proper example code to handle these crazy permissions !!

Ответить
Sumit Trehan
Sumit Trehan - 02.04.2023 21:48

That's complex

Ответить
damaged | 私を避けてください
damaged | 私を避けてください - 31.03.2023 17:14

Thank you, I also think that whole system of permissions is complicated and shouldn't exists on android developers shoulders :(

Ответить
Ygor Frazão
Ygor Frazão - 26.03.2023 00:59

Hey Phillip, great content, been learning a lot from your videos.

Thanks to your lessons i've just released an Android Library that deals with permissions in a functional way without a lot of fragmented code and coupling with viewmodel.

Check it out, maybe you'll find it useful, composed-permissions.

Cheers,

Ответить
Li Po
Li Po - 19.03.2023 18:26

Hi Philipp! Once again: Thank you! You make it so much easier to deal with complex issues, that it now seems almost fun to handle permissions 😄

Ответить
Rahul Pahuja
Rahul Pahuja - 10.03.2023 18:46

Dude your videos are boring

Ответить
My Mobile
My Mobile - 02.03.2023 23:10

Instead of using 3 classes and 1 interface can't we just use a sealed interface or sealed class. Isn't this over architectured ?

Ответить
TheZukkino
TheZukkino - 25.02.2023 18:37

This is a quite interesting solution. Why don't you replace List with Stack. It implements all the concept you need to.

Ответить
Patrick Adutwum
Patrick Adutwum - 16.02.2023 17:58

Hi Philip, Please make a clean architecture video with multiple models. Thank you

Ответить
Vinay Parmar
Vinay Parmar - 15.02.2023 13:43

Hi Philipp, when we Don't Allow the permission for first time, then OK dialog shows but after then if we give the permission then also Grant Permission Rationale shows.. is it right thing?

Ответить
chau luu
chau luu - 14.02.2023 21:54

Sir, can you do video topic using ffmepg , opencv, opengles in android

Ответить
Diadiabloz
Diadiabloz - 14.02.2023 19:30

Thank you, it's very interesting way.

Ответить
Norayr Movsisyan
Norayr Movsisyan - 14.02.2023 14:50

Hi Phillip. Thank you for this video and for others. Can you tell me how can I check permission is granted or not. When permission is granted I won't show button and when it isn't granted it will be hide.

Ответить
Asadullah Ilyas
Asadullah Ilyas - 14.02.2023 10:01

One of the best things about your videos is that you make mistakes and then fix it.. which shows everyone the kind of mistakes they can run into and see how to fix them. Thank your for your time and effort.

Ответить
Nastenka
Nastenka - 14.02.2023 08:46

amazing video about permissions. Philipp which smartphone do you recommend on middle segment (xiaomi or Samsung)? [for better performance through the years and many years usage]. If you answer, I will be so happy❤❤

Ответить
Imam Yusup Bachtiar
Imam Yusup Bachtiar - 13.02.2023 18:22

Thanks, you save my job😅😅

Ответить
Vaibhav Nimkar
Vaibhav Nimkar - 13.02.2023 17:19

can u make video on gsoc organizations which i can contribute as begginer in android

Ответить
Andrea Bonatti
Andrea Bonatti - 13.02.2023 16:53

As always, this is a really good content!
I have a simple question: How do you deal with permissions that depend on different Android builds (e.g. Bluetooth permissions)? Do you create different arrays based on Android versions?

Ответить
Lucky Devil
Lucky Devil - 13.02.2023 15:40

Philipp is gonna reach 100 000 subs within a month!

Ответить
Stan Richie
Stan Richie - 13.02.2023 13:54

OMG, Phillip, you totally saved my project with this video. I had an issue with Bluetooth permissions for Android 12 OS. I thought, I tried everything, but your implementation of permission request totally worked in my case, thank you!

Ответить
Chris Athanas
Chris Athanas - 13.02.2023 11:51

After learning how permissions are handled on iOS from your recent KMM Translator course, we on Android definitely have a much harder time implementing this!

Ответить
Orlando Peña Fernández
Orlando Peña Fernández - 13.02.2023 04:56

As always, making incredible content!!!
Thank you very much, keep it up 😎

Ответить
I'm PSK
I'm PSK - 13.02.2023 04:04

Nice bro ✌️🤗

Ответить
Neeraj Kumar
Neeraj Kumar - 12.02.2023 23:18

THANK YOU SO MUCH!!! PLEASE HELP I have created single activity by watching your Clean MVVM Notes video, it uses Compose navigation, Problem is there is a button on B screen to send email, so it needs to startActivity(context,intent), but I cannot get context, i tried all of these couldnt get it working, so is it possible that I can fire event from Compose screen B and startActivity is done by MainActivity? this context is making it so hard

Ответить
Syed Faizan Ali
Syed Faizan Ali - 12.02.2023 21:37

Time to say bye to good old Dexter library

Ответить
Syed Faizan Ali
Syed Faizan Ali - 12.02.2023 21:36

Top notch content and editting. Thanks man.

Ответить
Li Po
Li Po - 12.02.2023 21:01

I am working on an app that uses Bluetooth Classic. The guide from google developers is imho not really helpfull. If you target sdk above 30 (S) you have to deal with permission checks everywhere. The github repo they refer to is written in Java, and the code snippets they offer give no solution regarding permission checks. Can you please comment on this?

Ответить
Li Po
Li Po - 12.02.2023 20:48

Thank you Phillip!

Ответить
Tyler Lopez
Tyler Lopez - 12.02.2023 20:34

Starting to watch this now: but does this address the failure of the accomp. library where you can't know on the first request whether they have been perm denied?

Ответить
Mehrdad J
Mehrdad J - 12.02.2023 18:24

Is it possible to teach a tutorial about building a library and placing it in the maven repository?

Ответить
Mehrdad J
Mehrdad J - 12.02.2023 18:19

Hi Phillip. Thanks for this video ,🙏🙏🙏🙏🙏👏👏👏👏👏👏👏👏👏👏👏👏👏💪💪💪💪💪💪👏👏👏

Ответить
Flowz K
Flowz K - 12.02.2023 17:35

Another Awesome Video on Permissions! thank you Philip!

Ответить
Abiodun Moses
Abiodun Moses - 12.02.2023 16:08

Indeed scalable

Ответить
mesut emre çelenk
mesut emre çelenk - 12.02.2023 15:57

Thanks bro. I required to this nowadays 😃

Ответить
03_Amar Toge
03_Amar Toge - 12.02.2023 15:01

can you please make a bluetooth tutorial ...

Ответить
Huy Ngô
Huy Ngô - 12.02.2023 14:56

Hi Phillip, i really thank you for your contributions to the Android Dev community. I hope you will make some videos about MVVM + Clean Architecture + Modularization in the future. I think many people are interested in this topic.

Ответить
Game dev
Game dev - 12.02.2023 14:06

Awesome

Ответить
Usman 🥂
Usman 🥂 - 12.02.2023 14:02

Oh god, I was waiting for it. Thanks Philipp

Ответить
MAXIMUS TCH
MAXIMUS TCH - 12.02.2023 14:01

I love you bro 💛 thanks for your help ✅👑

Ответить