From 6ea9239bc4bc57bff574fdb47069b21189019aed Mon Sep 17 00:00:00 2001 From: Ulrich GIBERNE Date: Fri, 13 Dec 2024 16:26:33 -0400 Subject: [PATCH] prepare 1.3.2-beta version --- CHANGELOG.md | 3 +++ package.json | 2 +- plugin/src/withAirshipIOS.ts | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a739d6..6776178 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Airship Expo Plugin Changelog +## Version 1.3.2-beta - December 013, 2024 +Beta version that fixes the Notification Service Extension for EAS builds. + ## Version 1.3.1 - December 06, 2024 Patch version that fixes the support for Aiship Notification Service Extension when using `use_frameworks`. diff --git a/package.json b/package.json index 32fc3a4..9c2f98c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "airship-expo-plugin", - "version": "1.3.1", + "version": "1.3.2-beta", "description": "Airship Expo config plugin", "main": "./app.plugin.js", "scripts": { diff --git a/plugin/src/withAirshipIOS.ts b/plugin/src/withAirshipIOS.ts index 89d5880..dbefe10 100644 --- a/plugin/src/withAirshipIOS.ts +++ b/plugin/src/withAirshipIOS.ts @@ -104,9 +104,10 @@ const withExtensionTargetInXcodeProject: ConfigPlugin = ( return newConfig; } + const infoPlistFilename = props.notificationServiceTargetName ? props.notificationServiceTargetName + "-Info.plist" : NOTIFICATION_SERVICE_INFO_PLIST_FILE_NAME; // Create new PBXGroup for the extension const extGroup = xcodeProject.addPbxGroup( - [NOTIFICATION_SERVICE_FILE_NAME, NOTIFICATION_SERVICE_INFO_PLIST_FILE_NAME], + [NOTIFICATION_SERVICE_FILE_NAME, infoPlistFilename], targetName, targetName );