Cordova plugins permissions

Cordova plugins permissions



I'm are trying to integrate a Cordova plugin that requires bluetooth access.

The Cordova plugin configuration file (plugin.xml) has the reference to the android permission:

<config-file target="AndroidManifest.xml" parent="/*">
    <uses-permission android:name="android.permission.BLUETOOTH" />

I've built a plugin following the P10 documentation instructions using the "Extensibility Configurations" property of the e-space to refer the Cordova plugin repository.

Then, I've built an app that references the plugin e-space.

The problem that I'm having is that the App generated by the OutSystems Platform doesn't have the bluetooth permission listed, it seem that it doesn't inherit the Cordova plugin permissions has I expected. Without this permission the plugin does't work.

Does the platform inherits the plugin.xml android permissions or is it necessary to explicitly configure them somewhere in the OutSystems Platform?


Luís Rondão

Hi Luis,

The steps you did seem to be ok, so the plugin should've worked as expected. 

We need a little bit more information to be able to help you out. Could you please tell us the version you're running on and your activation code? If you could attach the plugin also, it would be great.