cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevengill <...@git.apache.org>
Subject [GitHub] cordova-ios issue #234: CB-9825 cocoapod integration for plugins
Date Fri, 29 Jul 2016 19:14:46 GMT
Github user stevengill commented on the issue:

    https://github.com/apache/cordova-ios/pull/234
  
    @blakgeek that is pretty cool!
    
    Looks like @juliascript PR handles most of it. (doesn't handle configuration yet)
    
    For android, you would add your plugin deps to your gradle file and check that in. The
framework tag in plugin.xml is used to fetch deps from gradle as well. 
    
    For iOS, we are adding the same functionality by extending the framework tag to be able
to grab pods. It creates a podFile and pods.JSON is used for dependency management. 
    
    If we were sticking to how we do things with Android, users who want pods in their cordova
apps at a project level would just do a pod init and pod install packages themselves. They
would then check in the pod file into version control. But these pods wouldn't be managed
by cordova. They wouldn't go into pods.json and we wouldn't check to see if they exist when
adding pods via plugin's framework tag.
    
    i like the idea of the ability to add pods via config.xml. We could add them to pods.json
and look for conflicts. But, nothing would stop the user from just pod installing instead
of using config.xml too add the pod. In that scenario, we have the same problem of not really
knowing what pods are installed.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message