[
https://issues.apache.org/jira/browse/CB-11589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380835#comment-15380835
]
ASF GitHub Bot commented on CB-11589:
-------------------------------------
Github user codecov-io commented on the issue:
https://github.com/apache/cordova-lib/pull/464
## [Current coverage][cc-pull] is **80.62%**
> Merging [#464][cc-pull] into [master][cc-base-branch] will increase
coverage by **<.01%**
```diff
@@ master #464 diff @@
==========================================
Files 68 68
Lines 5392 5394 +2
Methods 855 855
Messages 0 0
Branches 1038 1040 +2
==========================================
+ Hits 4347 4349 +2
Misses 1045 1045
Partials 0 0
```
> Powered by [Codecov](https://codecov.io?src=pr). Last updated by
[1228fdc...cf08015][cc-compare]
[cc-base-branch]:
https://codecov.io/gh/apache/cordova-lib/branch/master?src=pr
[cc-compare]:
https://codecov.io/gh/apache/cordova-lib/compare/1228fdc589095ef1682b11c81273fe040d5b5251...cf080154d56d74c7ec9c41e9998409d6e1d382ee?src=pr
[cc-pull]: https://codecov.io/gh/apache/cordova-lib/pull/464?src=pr
> Missing plugins in PlatformJson after restore
> ---------------------------------------------
>
> Key: CB-11589
> URL: https://issues.apache.org/jira/browse/CB-11589
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: 6.2.0
> Reporter: Darryl Pogue
>
> My project has both Android and iOS platforms, and sometimes when I run
> {{cordova prepare}} it installs everything properly for Android, and installs
> the plugin files for iOS but leaves the ios.json file mostly empty.
> It turns out we're incredibly inefficient with restoring platforms and
> plugins. The entire process looks something like this:
> {code}
> Cordova Prepare
> restore Android
> Android install new plugins
> Android prepare
> restore iOS
> iOS install new plugins
> iOS prepare
> prepare Android
> prepare iOS
> restore Plugins
> add plugin
> add plugin
> ...
> {code}
> Rather than preparing when we add the platform and then preparing again after
> all the platforms are added, it would be ideal to add the platforms and then
> do a single prepare at the end.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]