apache / apache/cordova-plugman
cordova-android version not detected - lacks script
- Dominant language
- JavaScript
- Stars
- 404
- Forks
- 150
- Avg merge
- 13h 35m
- Merged PRs (30d)
- 1
Description
Trying to add a new plugin only to android using plugman gives below error :
```
Installing "cordova-plugin-firebase-messaging" for android
cordova-android version not detected (lacks script /cordova/version ), continuing.
Plugin doesn't support this project's cordova version. cordova: 9.0.1, failed version requirement: >=10.0.0
Skipping 'cordova-plugin-firebase-messaging' for android
```
cordova platforms list
Installed platforms:
android 12.0.1
ios 7.0.1
cordova --version
12.0.0 (cordova-lib@12.0.1)
Mac OS
Contributor guide
Research direction
Reproduce the failure by using plugman to add cordova-plugin-firebase-messaging to the reported Android project, then inspect how it checks the cordova-android version and the missing /cordova/version script. Done means the installed cordova-android 12.0.1 is detected and the plugin is not skipped because of the reported version requirement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- mobile-dev, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100