oasisfeng / island

Island for Android

Home Page:https://play.google.com/store/apps/details?id=com.oasisfeng.island

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access to notification for apps is not avaiable in this work profile

switch-gott opened this issue · comments

Hi,
i get this error while using the app safereach inside work profile.
"Access to notification for apps is not avaiable in this work profile"
The app needs access to notification, because of getting an alarm inside private profile i guess.
This did not work:
pm grant --user 0 net.safereach android.permission.POST_NOTIFICATIONS
pm grant --user 0 net.safereach android.permission.READ_CONTACTS
pm grant --user 10 net.safereach android.permission.POST_NOTIFICATIONS
pm grant --user 10 net.safereach android.permission.READ_CONTACTS
Any idea how to get this work?
Big thanks for help
Bye

Here is a dump from permissions:
requested permissions:
android.permission.ACCESS_NETWORK_STATE
android.permission.READ_CONTACTS
android.permission.VIBRATE
android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.SYSTEM_ALERT_WINDOW
android.permission.DISABLE_KEYGUARD
android.permission.FOREGROUND_SERVICE
android.permission.WAKE_LOCK
net.safereach.geo.permission.REQUEST_LOCATION
net.safereach.geo.permission.SHOW_ONBOARDING
android.permission.INTERNET
android.permission.POST_NOTIFICATIONS
com.google.android.c2dm.permission.RECEIVE
com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
com.google.android.gms.permission.AD_ID
install permissions:
com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE: granted=true
com.google.android.c2dm.permission.RECEIVE: granted=true
android.permission.FOREGROUND_SERVICE: granted=true
android.permission.RECEIVE_BOOT_COMPLETED: granted=true
android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: granted=true
android.permission.INTERNET: granted=true
android.permission.ACCESS_NETWORK_STATE: granted=true
android.permission.DISABLE_KEYGUARD: granted=true
android.permission.VIBRATE: granted=true
com.google.android.gms.permission.AD_ID: granted=true
android.permission.WAKE_LOCK: granted=true
User 0: ceDataInode=0 installed=false hidden=false suspended=false distractionFlags=0 stopped=true notLaunched=true enabled=0 instant=false virtual=false
installReason=0
firstInstallTime=2023-07-25 10:51:14
uninstallReason=0
overlay paths:
/product/overlay/NavigationBarModeGestural/NavigationBarModeGesturalOverlay.apk
legacy overlay paths:
/product/overlay/NavigationBarModeGestural/NavigationBarModeGesturalOverlay.apk
gids=[3003]
runtime permissions:
android.permission.POST_NOTIFICATIONS: granted=true, flags=[ USER_SET]
android.permission.READ_CONTACTS: granted=false
User 10: ceDataInode=191758 installed=true hidden=false suspended=false distractionFlags=0 stopped=false notLaunched=false enabled=0 instant=false virtual=false
installReason=4
firstInstallTime=2023-07-25 10:51:14
uninstallReason=0
gids=[3003]
runtime permissions:
android.permission.POST_NOTIFICATIONS: granted=true, flags=[ USER_SET|USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED]
android.permission.READ_CONTACTS: granted=true, flags=[ USER_SET|USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED]
enabledComponents:
androidx.work.impl.background.systemalarm.RescheduleReceiver
androidx.work.impl.background.systemjob.SystemJobService