This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
cordova-osx@6.0.0 / Cordova CLI 10 fails to restore plugins from package.json #106
Closed
3 tasks done
Labels
Bug Report
Problem
What is expected to happen?
cordova-osx should restore plugins from
package.json
when runningcordova platform add osx
. The plugins' native and JS code should run before thedeviceready
event is fired.What does actually happen?
Plugins declared in
package.json
are successfully added to the native macOS (Xcode) project, but their code is not run. As a result, the WebView is not able to access exported definitions (i.e. window.device for cordova-plugin-device).Information
package.json
:platforms/osx/www/cordova_plugins.js
platforms/osx/cordova-macos-test/config.xml
andplatforms/osx/osx.json
are missing plugin declarations.Command or Code
Please see alalamav/cordova-macos-test for a detailed description of the problem and reproduction steps.
Environment, Platform, Device
macOS
Version information
Checklist
The text was updated successfully, but these errors were encountered: