diff --git a/CHANGELOG.md b/CHANGELOG.md index edd702e..0a739d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Airship Expo Plugin Changelog +## Version 1.3.1 - December 06, 2024 +Patch version that fixes the support for Aiship Notification Service Extension when using `use_frameworks`. + ## Version 1.3.0 - December 03, 2024 Minor version that adds support for Aiship Notification Service Extension and Android Custom Notification Channels. diff --git a/package.json b/package.json index fba042c..32fc3a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "airship-expo-plugin", - "version": "1.3.0", + "version": "1.3.1", "description": "Airship Expo config plugin", "main": "./app.plugin.js", "scripts": { diff --git a/plugin/src/withAirshipIOS.ts b/plugin/src/withAirshipIOS.ts index d217699..0831475 100644 --- a/plugin/src/withAirshipIOS.ts +++ b/plugin/src/withAirshipIOS.ts @@ -171,6 +171,8 @@ const withAirshipServiceExtensionPod: ConfigPlugin = (con return withPodfile(config, async (config) => { const airshipServiceExtensionPodfileSnippet = ` target '${NOTIFICATION_SERVICE_EXTENSION_TARGET_NAME}' do + use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] + use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] pod 'AirshipServiceExtension' end `;