apache / apache/cordova-android

<config-file> doesn't work when using <edit-config> in plugin.xml

Open
#1,280 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
1.6k
Avg merge
16h 18m
Merged PRs (30d)
11

Description

# Bug Report

## Problem

### What is expected to happen?

When I use I noticed, that nothing add to the AndroidManifest (except edit-config, it works) when I do cordova prepare android or cordova build android. I'm writing my own cordova plugin.

## Information

My example:














### Version information
Cordova plugins, Cordova 10.0

## 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 supplied plugin.xml during cordova prepare android or cordova build android and inspect the generated AndroidManifest.xml, comparing config-file processing with the working edit-config entry. Done means the declared uses-permission and meta-data elements appear in AndroidManifest.xml without breaking the resource-file or edit-config behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.