apache / apache/cordova-browser

Warning about non-existing config.xml emitted during browser platform restore

Open
#104 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
174
Forks
86
Avg merge
8h 15m
Merged PRs (30d)
6

Description

# Bug Report

## Problem

When restoring browser platform with cordova-plugin-device active, the following warning is emitted:
```
config file config.xml requested for changes not found at /path/to/project/platforms/browser/config.xml, ignoring
```

To reproduce, on a freshly created new cordova project:
```
cordova platform add browser
cordova plugin add cordova-plugin-device <-- no warning emitted here
rm -rf platforms plugins
cordova prepare browser <-- warning emitted
```

## Information

### Version information
cordova@11.0.0
cordova-browser@6.0.0
cordova-plugin-device@2.0.3

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Reproduce the warning with the listed `cordova platform add browser`, plugin installation, cleanup, and `cordova prepare browser` sequence, then trace the browser platform restore path that handles the missing `config.xml`. Done means the restore completes without this warning while the platform and plugin setup still works as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.