You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Description of the problem:
When a Cordova plugin has a js-module with no
name
attribute, thecordova.define
id becomes${pluginId}.undefined
, which can blockdeviceready
.See:
https://github.com/apache/cordova-common/blob/d73d7fab70d2a5110bae174e48065065373732c9/src/PlatformJson.js#L247
https://github.com/apache/cordova-ios/blob/4562ef5608d57d471dc11212c9f432762886a32d/bin/templates/scripts/cordova/lib/plugman/pluginHandlers.js#L194
vs.
capacitor/cli/src/cordova.ts
Line 58 in bdc0398
capacitor/cli/src/cordova.ts
Line 110 in bdc0398
The text was updated successfully, but these errors were encountered: