How to apply changes to native modules / build modules from source in managed workflow?

  1. SDK Version: 46
  2. Platforms(Android/iOS/web/all): iOS

Hi, I’m trying to apply a small patch to native iOS code inside of the expo-av package. Basically, I’d like to:

  1. Undo the change from this PR
  2. rebuild the module from that edited source
  3. create a new development build (locally, or on EAS). I’m using eas build --local for this currently.

(Basically, I’d like to patch-package the source, and manually rebuild the module)

Step (2) is where I’m stuck. My understanding is that it is necessary to rebuild the module because eas build --local is using the iOS prebuilt binary, so it won’t pick up on any patches I make otherwise.

The guide at says:

Just set the global Ruby variable at the top of your Podfile and list all the packages that you want to build from sources by their NPM package name, as below:

I’m a newbie in working with native code, and it’s unclear to me what this means / how this applies in the managed workflow.

How can I rebuild the expo-av module after changing the source, so that I can apply the changes in a new development build?

Here’s the github issue that is the motivation for this:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.