A library for interacting with the app.json
npm install @expo/android-manifest@expo/android-manifest
A library for interacting with the AndroidManifest.xml
---
Install @expo/android-manifest in your project.
``sh`
yarn add @expo/android-manifest
`ts
import * as Manifest from '@expo/android-manifest';
// Read the project's manifest
const manifest = await Manifest.readAsync(manifestPath);
// Get the Android app permissions as an array
const permissions: string[] = Manifest.getPermissions(manifest);
``
The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.
---