Message "Error: Expected plugin to have ID "org.apache.cordova.device" but got "cordova-plugin-device"" is shown when is trying to build a Cordova Light application
Issue
-
Message
"Error: Expected plugin to have ID "org.apache.cordova.device" but got "cordova-plugin-device""is shown when is trying to build a Cordova Light application. Following an example of this issue.[BUILD] Copy application files... [BUILD] Copy asset files... [BUILD] Copy asset files... [BUILD] Adding build task to queue [BUILD] Creating project... [BUILD] Creating directories... [BUILD] Downloading files... [BUILD] Unzip files... [BUILD] Creating native project... [BUILD] Project created. Applying configuration changes and copying app files... [Error: Expected plugin to have ID "org.apache.cordova.device" but got "cordova-plugin-device".]Following the
config.jsonfile with this plugin.}, { "id": "de.appplant.cordova.plugin.local-notification", "url": "https://github.com/katzer/cordova-plugin-local-notifications#0.7.8", "version": "0.7.8" }, {
Environment
- Red Hat Mobile Application Platform (RHMAP) - 3
- Cordova-light template ( deprecated )
- cordova-plugin-local-notifications - v0.7.8
- cordova-ios
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
