Can't enable system notifications access
Closed this issue · 11 comments
What were you trying to do...
Enable access to system notifications to allow the "now playing" feature.
And what actually happened (ie. describe the bug)...
Toggle doesn't stick to enabled and there's no prompt asking for permission.
In the app permissions in settings, there's only the access to media files.
What kind of device do you have? (eg. Nvidia Shield, Sony TV, etc)...
Shield TV 2017 running latest firmware, and latest play store aerial views.
Edit: all right figured it out, you need to navigate to system settings, apps, special permissions...
Idea: maybe enabling the toggle inside the app could shortcut to that menu?
Can you tell me what version of Android the Shield is running, I think it's v11 ?
Also, can you look in Settings > Apps > Special App Access > Notification Access > Aerial Views - enable it and see if that fixes it issue?
Idea: maybe enabling the toggle inside the app could shortcut to that menu?
I actually already do this, but I'm not sure why it doesn't work on the Shield. I've only tested it on a few versions of Android/Google TV.
Does the "Open system screensaver options" work for you?
Idea: maybe enabling the toggle inside the app could shortcut to that menu?
I actually already do this, but I'm not sure why it doesn't work on the Shield. I've only tested it on a few versions of Android/Google TV.
Does the "Open system screensaver options" work for you?
Yes, it does.
If you need anything else just ask.
Thanks for that. I think the only realistic option is to show a notice about the setting, for example.
"If the above option doesn't appear to work, please look in Settings > Apps > Special App Access > Notification Access for Aerial Views, then set it to Enabled"
Also, can I ask - what music app do you use? I use Spotify and I haven't been able to test with others yet.
Same for Nvidia Shield TV Pro 2019. The toggle in the app does not give access to the settings for notifications.
Android TV ver 11 | SW SHIELD Android TV ver 9.2.0(33.2.0.201)
Thanks for that. I think the only realistic option is to show a notice about the setting, for example.
"If the above option doesn't appear to work, please look in Settings > Apps > Special App Access > Notification Access for Aerial Views, then set it to Enabled"
Also, can I ask - what music app do you use? I use Spotify and I haven't been able to test with others yet.
Spotify too.
@theothernt got this exception for openNotificationSettings fun:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS }
It's actual for manual enabled notification listener settings, too.
Hey @theothernt
I've added opening Manage Application Settings for catch case.
It's probably a good idea to show a notification with a hint on what to enable for this case.
Like "Go to Special app access > Notification access and turn on Aerial Views"
@gentslava thanks for the additional info and the PR, I'll merge that soon.
I agree about adding a notification, I'll add that soon as well.
@theothernt I've added with all translations! :)
All PRs are merged. Thank you so much for your work, it'll be mentioned in the release notes.