cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <purplecabb...@gmail.com>
Subject Re: Prevent Android only plugin from being installed in ios platform
Date Sat, 02 Jul 2016 04:30:54 GMT
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.kursawe@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?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message