From 51bcc6d30aefdec8c6457a209aefee51d49ba88e Mon Sep 17 00:00:00 2001 From: Nathan Ahn Date: Tue, 30 Jul 2024 19:56:51 -0400 Subject: [PATCH] Adding withDeviceFamily --- plugin/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/src/index.ts b/plugin/src/index.ts index dbdc3f6..22ae5ba 100644 --- a/plugin/src/index.ts +++ b/plugin/src/index.ts @@ -5,6 +5,7 @@ import { withEntitlements } from "./withEntitlements"; import { withPlist } from "./withPlist"; import { withPodfile } from "./withPodfile"; import { withXcode } from "./withXcode"; +import { withDeviceFamily } from "@expo/config-plugins/build/ios/DeviceFamily"; const withAppClip: ConfigPlugin<{ name?: string; @@ -46,6 +47,7 @@ const withAppClip: ConfigPlugin<{ const targetName = `${IOSConfig.XcodeUtils.sanitizedName(config.name)}${targetSuffix}`; const modifiedConfig = withPlugins(config, [ + withDeviceFamily as ConfigPlugin, [ withConfig, { targetName, bundleIdentifier, appleSignin, applePayMerchantIds },