Have a look at https://github.com/apache/cordova-plugin-whitelist/blob/master/plugin.xml
Android only. Essentially everything in the <platform name="android"> in the plugin's plugin.xml is added to the android project only .... include <js-module/> tags. @purplecabbage risingj.com On Fri, Jul 1, 2016 at 4:02 AM, Philipp Kursawe <phil.kurs...@gmail.com> wrote: > I wonder why there is no concept in plugins to specify in their metadata > (plugin.xml) for which platform they should be installed. > > I tried to put the plugin directive in my config.xml under the <platform > name="android"> removed the iOS platform. Added it again and the plugin was > still installed in the iOS platform again. > > Whats the recommended way to exclude plugins from certain platforms? >