Open DjordjePetrovic opened 2 years ago
Thanks for opening this, I'll take a look into it and see If I can find out more about the issue!
Can you please tried with this I resolved using below code in app.json file.
"plugins": [
[
"config-plugin-react-native-intercom",
{
"iosApiKey": "
@cmaycumber @DjordjePetrovic Hi, I tried to move the logic to the app.config.js but still got the same error as you have. Could you share your solution maybe? Thanks
@DjordjePetrovic @AleksandarBisevac
if it is still relevant could you please share your full plugins
section(replacing keys) either from app.json or app.config.js?
Getting -> Cannot destructure property 'iosApiKey' of 'props' as it is undefined.
With the latest version of the lib.
Installed with yarn add config-plugin-react-native-intercom // also tried expo install
added keys to app.json
and when I run the project lib complains about missing prop
UPDATE: it appears it won't read the config from
app.json
file, but if I added it insideapp.config.js
everything works fineThanks!