Skip to content

Commit

Permalink
Merge pull request #7 from urbanairship/useFrameworksPatch
Browse files Browse the repository at this point in the history
fix for use frameworks
  • Loading branch information
Ulrico972 authored Dec 6, 2024
2 parents a3217a9 + d6f69db commit f418f16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 2 additions & 0 deletions plugin/src/withAirshipIOS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ const withAirshipServiceExtensionPod: ConfigPlugin<AirshipIOSPluginProps> = (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
`;
Expand Down

0 comments on commit f418f16

Please sign in to comment.