This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Convert `app.json` to `app.config.js` | |
* Install `@expo/config-plugins` as a devDependency | |
* Copy the `withAndroidApplicationAttributes` config plugin and related `addAttributesToApplication` function to `app.config.js` | |
* Add a `plugins` section to reference the config plugin and specify the attribute to add | |
* Build with `eas build -p android ...` | |
*/ | |
import { AndroidConfig, withAndroidManifest } from "@expo/config-plugins"; | |
function addAttributesToApplication(androidManifest, attributes) { |