@config-plugins/intercom-react-native
Expo Config Plugin to auto configure intercom-react-native
when the native code is generated (expo prebuild
).
Expo installation
Tested against Expo SDK 42
This package cannot be used in the "Expo Go" app because it requires custom native code.
expo install intercom-react-native @config-plugins/intercom-react-native
After installing this npm package, add the config plugin to the plugins
array of your app.json
or app.config.js
:
{
"expo": {
"plugins": ["@config-plugins/intercom-react-native"]
}
}
Next, rebuild your app as described in the "Adding custom native code" guide.
API
The plugin provides props for extra customization. Every time you change the props or plugins, you'll need to rebuild (and prebuild
) the native app. If no extra properties are added, defaults will be used.
foobar
(boolean): Does XYZ. Default false
.
Example
{
"expo": {
"plugins": [
[
"@config-plugins/intercom-react-native",
{
}
]
]
}
}