Open manarbajafar opened 1 year ago
Hi @manarbajafar Thank you for your attention. Do you want the button to disappear automatically after you click Authorize?
Hi @manarbajafar Thank you for your attention. Do you want the button to disappear automatically after you click Authorize?
Hello @jiusanzhou thanks for your reply. Yes, I want the button to disappear after the user clicks on Allow access to notifications
@manarbajafar Sorry for the late reply. I think this requires adding a listener to listen for permission changing events, but I don't currently have it implemented, if I remember correctly. You can still add a timed task to get the latest permission status at regular intervals, this is of course a silly solution
I'm having a problem updating the interface, I want when I press the button and then agree to the permissions, and go back to the screen That button disappears But what happens is that it requires me to press the button again for the button to disappear
I don't know what the problem is And when I use the loading and started values, it hides the button before I approve the permissions only once I open the settings Where in the code can I tell that the user has approved the permissions?
I recorded the screen when I run https://drive.google.com/file/d/1ftcUdR_voBZOYE0gMOoEhj9FP37e6ULr/view?usp=sharing
this is the screen code:
and this is it's controller: