cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Expósito (JIRA) <j...@apache.org>
Subject [jira] [Created] (CB-13424) [cordova-osx] Not adding plugins to the osx platform
Date Wed, 11 Oct 2017 16:18:00 GMT
José Expósito created CB-13424:
----------------------------------

             Summary: [cordova-osx] Not adding plugins to the osx platform
                 Key: CB-13424
                 URL: https://issues.apache.org/jira/browse/CB-13424
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-osx
            Reporter: José Expósito
            Assignee: Tobias Bocanegra
            Priority: Blocker


cordova plugin add does not work on macOS.

It is necessary to open "platforms/osx/HelloCordova.xcodeproj" and manually add the plugin
to "platforms/osx/HelloCordova/config.xml":

{code}
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="1.0.0" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
    [...]
    <feature name="Device">
        <param name="osx-package" value="CDVDevice" />
    </feature>
    [...]
</widget>
{code}

I noticed this happens with Cordova core plugins with official macOS support like cordova-plugin-device
or cordova-plugin-file.

Also experimented while migrating cordova-plugin-camera:
https://github.com/apache/cordova-plugin-camera/pull/290



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message