141
Views
5
Comments
[Android Permissions Plugin] [Androi Permission Plugin] Permisstion System Androi/IOS
android-permissions-plugin
Mobile icon
Forge asset by Miguel Antunes
Application Type
Mobile

I'm using Android Permissions Plugin to have the ability of push notifications on my app.But as everyone know when it's the first time of installing an mobile app and receiving a notification for the first time it normally asks for the acceptance of the android permission to receive notifications.Instead of this I want to force that request of android permission after the login screen.I already tried the Android Permissions Plugin "Entities.AndroidPermission.CAMERA" , it works for other kinda of permissions like camera,but permission folder and photo it not.I'm asking for your help on how to resolve this issue.


Capture.PNG
2023-03-30 10-13-40
Miguel Antunes

Without checking, I'm not sure if this will work... But try with the in the request permission action, pass a hard-coded value of: POST_NOTIFICATIONS. And see if that works.

I need to update the plugin to have this one in the Static Entity. But for now, a hard-coded value should be enough to test.

UserImage.jpg
Tran Van Thu

I tried it and didn't get the result I wanted. 

Can you tell me in more detail?


2022-10-30 15-16-24
Pedro Brandao

Hello i am having the same problem:


2022-10-30 15-16-24
Pedro Brandao

I could use the request permission for POST_NOTIFICATIONS only after adding this to android manifest.xml


https://developer.android.com/about/versions/13/changes/notification-permission?hl=pt-br


UserImage.jpg
Peter Engholm

Hi Pedro, how did you manage to edit the android manifest in Outsystems? I am having a similar issue and cannot get the permission to show up.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.