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 );