Ask

do i really need a config plugin to add one line to AndroidManifest, first expo app

Probably not, for one line. Work down this list:

  1. Is it already an app.json field? Permissions, intent filters, a lot of common manifest keys are exposed directly and people write plugins for things that were one config key away.
  2. Can expo-build-properties do it? It covers a surprising amount of the Gradle and manifest surface.
  3. Only then write a plugin.

And if you do get to step 3, a plugin for one manifest attribute is about fifteen lines with withAndroidManifest. It is a function that takes config, mutates a parsed object, returns config. Not a mountain.

The thing you must not do is edit android/AndroidManifest.xml by hand, because the next prebuild regenerates it and your line silently disappears. You will not notice at the time. You will notice on a build three weeks later when the SDK stops working and nothing in your diff explains it.

68 · in/expo-and-eas ·