From b96646143929b9bc0aedc242fb9a701daf59ab1d Mon Sep 17 00:00:00 2001 From: Rosie-Kennelly-1 Date: Fri, 6 Mar 2026 10:54:19 +0000 Subject: [PATCH] fix: correct config chaining in withIntercomPushNotification The exported plugin was passing the original `config` to both `appDelegate` and `infoPlist` instead of the chained `newConfig`, which meant each plugin received the unmodified config rather than the result of the previous plugin in the chain. Co-Authored-By: Claude Opus 4.6 --- src/expo-plugins/withPushNotifications.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/expo-plugins/withPushNotifications.ts b/src/expo-plugins/withPushNotifications.ts index 64f06e8a..8de9b286 100644 --- a/src/expo-plugins/withPushNotifications.ts +++ b/src/expo-plugins/withPushNotifications.ts @@ -59,7 +59,7 @@ export const withIntercomPushNotification: ConfigPlugin = ( props ) => { let newConfig = config; - newConfig = appDelegate(config, props); - newConfig = infoPlist(config, props); + newConfig = appDelegate(newConfig, props); + newConfig = infoPlist(newConfig, props); return newConfig; };