Skip to content

This package is used to update the AndroidManifest.xml file for Capacitor projects

License

Notifications You must be signed in to change notification settings

yoav0gal/capacitor-manifest-updater

Repository files navigation

capacitor-manifest-updater

Alt text

Description

CapacitorManifestUpdater is a Node.js utility for updating the AndroidManifest.xml file in Capacitor projects. It automates the process of adding specific permissions, making it easier and more reliable compared to manual editing.

Installation

npm install capacitor-manifest-updater

Usage

Run the script using npx and provide the path to your AndroidManifest.xml and the permissions you want to add:

npx capacitor-manifest-updater path/to/AndroidManifest.xml [PERMISSIONS...]

Example:

npx capacitor-manifest-updater ./android/app/src/main/AndroidManifest.xml android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_COARSE_LOCATION

Features

  • Easily add permissions to AndroidManifest.xml.
  • Supports multiple permissions.
  • Command-line interface for simplicity.

Contributing

Contributions to improve CapacitorManifestUpdater are welcome. Please submit pull requests or issues to our GitHub repository.

License

CapacitorManifestUpdater is released under the MIT License. See the LICENSE file for more details.

About

This package is used to update the AndroidManifest.xml file for Capacitor projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published