Please read the documentation for more information.
If you are introducing a new plugin configuration, choosing the right directory in which to store the configuration might look puzzling at first.
To know which directory to use for a new plugin configuration, just go through the following bullet points from top to bottom.
-
Does your plugin configuration need to add Android resources (from a
res
directory) to the container or to add iOS resources to the container ?
Useern_v0.41.1+
-
Does your plugin configuration use
features
directive for Android,addEmbeddedFramework
directive for iOS, orapplyPatch
directive?
Useern_v0.39.0+
-
Does your plugin configuration use
replaceInFile
directive for Android?
Useern_v0.34.0+
-
Does your plugin configuration use
setBuildSettings
directive for iOS?
Useern_v0.33.0+
-
Does your plugin configuration use
permissions
directive for Android?
Useern_v0.14.0+
-
Otherwise
Useern_v0.13.0+
Picking the right directory will make sure that your plugin configuration is
made available to the maximum possible range of ern
client versions, while
guaranteeing that it won't be exposed to incompatible ern
client versions.
Adds a new Android plugin directive: permissions
: #606
This directive takes an array of strings representing the Android permissions
to inject in the Container. This can be used in case a plugin requires specific
permissions in order to properly operate.
Adds a new iOS plugin directive: setBuildSettings
: #1196
This directive allows to update build settings in the plugin pbxproj or any
pbxproj part of the plugin package.
Adds a new Android plugin directive: replaceInFile
: #1197
This directive allows to replace content in any files included in the Container.
- Add support of addEmbeddedFramework
directive for iOS #1478
This directive allows to add an embedded Framework to the container project.
Adds support for React Native >= 0.61.0: #1542\