How do I include a permission in the AndroidManifest.xml

How do I include a permission below (Android example) in the settings (AndroidManifest.xml) of an application created with an OutStsems platform?

<activity android:name=".MyScreen">

         <intent-filter>

                  <category android:name="android.intent.category.BROWSABLE"></category>

         </intent-filter>

</activity>


Thanks,

Ricardo Ferreira

Solution
Solution

João Santos wrote:

You can accomplish this by changing the Extensibility Configurations definition of the front-end module.


Check this link: https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema


And also here: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html


Thanks João


I noticed that the outsystems build is already included in the manifest: 

https://success.outsystems.com/Documentation/Development_FAQs/How_to_Define_Mobile_App_Deep_Links


Ricardo Ferreira wrote:

João Santos wrote:

You can accomplish this by changing the Extensibility Configurations definition of the front-end module.


Check this link: https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema


And also here: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html


Thanks João


I noticed that the outsystems build is already included in the manifest: 

https://success.outsystems.com/Documentation/Development_FAQs/How_to_Define_Mobile_App_Deep_Links


Is there any other thing you want to understand?


João Santos wrote:

You can accomplish this by changing the Extensibility Configurations definition of the front-end module.


Check this link: https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema


And also here: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html



Hi 

I want add this line to manifest file how i can add this? 

<uses-permission
    android:name="android.permission.READ_CALL_LOG"
    tools:node="remove" />

Swapnil Shinde wrote:

João Santos wrote:

You can accomplish this by changing the Extensibility Configurations definition of the front-end module.


Check this link: https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema


And also here: https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html



Hi 

I want add this line to manifest file how i can add this? 

<uses-permission
    android:name="android.permission.READ_CALL_LOG"
    tools:node="remove" />

Have you checked this plugin: https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin ?


Hi João Santos,

I checkd and used this plugin in my project but my requirement is diiferent.

in my project there is an another plugin name finbox(https://github.com/finbox-in/cordova-plugin-risk-manager)

in that they use some permission in there manifest file you can check in below document

 https://docs.finbox.in/device-connect/cordova.html#handle-permissions

and application manifest file set this permission after generating application and because of this google not approve my application to published on play store.

to resolve this issue they provide this solution, To remove the unused permissions,  add a remove rule to that permission as shown below

<uses-permission
    android:name="android.permission.READ_CALL_LOG"
    tools:node="remove" />

Hi,

Please suggest some solution.

Swapnil Shinde wrote:

Hi João Santos,

I checkd and used this plugin in my project but my requirement is diiferent.

in my project there is an another plugin name finbox(https://github.com/finbox-in/cordova-plugin-risk-manager)

in that they use some permission in there manifest file you can check in below document

 https://docs.finbox.in/device-connect/cordova.html#handle-permissions

and application manifest file set this permission after generating application and because of this google not approve my application to published on play store.

to resolve this issue they provide this solution, To remove the unused permissions,  add a remove rule to that permission as shown below

<uses-permission
    android:name="android.permission.READ_CALL_LOG"
    tools:node="remove" />

Hello, I've been doing some research and I didn't find anything like that in Outsystems. I would say, that your best option is to customize the Android Permissions plugin (https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin). You can make a fork of the code that is on github (https://github.com/kelter-antunes/cordova-plugin-android-permission)