expo-targets 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -192
- package/build/metro/src/index.d.ts +1 -1
- package/build/metro/src/index.d.ts.map +1 -1
- package/build/metro/src/index.js +2 -1
- package/build/metro/src/index.js.map +1 -1
- package/build/metro/src/withTargetsMetro.d.ts +14 -0
- package/build/metro/src/withTargetsMetro.d.ts.map +1 -1
- package/build/metro/src/withTargetsMetro.js +75 -23
- package/build/metro/src/withTargetsMetro.js.map +1 -1
- package/build/plugin/src/android/widgetSourceSets.d.ts +10 -0
- package/build/plugin/src/android/widgetSourceSets.d.ts.map +1 -0
- package/build/plugin/src/android/widgetSourceSets.js +167 -0
- package/build/plugin/src/android/widgetSourceSets.js.map +1 -0
- package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts +1 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.js +0 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.js.map +1 -1
- package/build/plugin/src/android/withAndroidTarget.d.ts +1 -1
- package/build/plugin/src/android/withAndroidTarget.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidTarget.js +0 -1
- package/build/plugin/src/android/withAndroidTarget.js.map +1 -1
- package/build/plugin/src/android/withAndroidWidget.d.ts +1 -1
- package/build/plugin/src/android/withAndroidWidget.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidWidget.js +174 -249
- package/build/plugin/src/android/withAndroidWidget.js.map +1 -1
- package/build/plugin/src/config.d.ts +52 -10
- package/build/plugin/src/config.d.ts.map +1 -1
- package/build/plugin/src/config.js +49 -1
- package/build/plugin/src/config.js.map +1 -1
- package/build/plugin/src/domain/appGroups.d.ts +19 -0
- package/build/plugin/src/domain/appGroups.d.ts.map +1 -0
- package/build/plugin/src/domain/appGroups.js +44 -0
- package/build/plugin/src/domain/appGroups.js.map +1 -0
- package/build/plugin/src/domain/bundleIds.d.ts +9 -0
- package/build/plugin/src/domain/bundleIds.d.ts.map +1 -0
- package/build/plugin/src/domain/bundleIds.js +10 -0
- package/build/plugin/src/domain/bundleIds.js.map +1 -0
- package/build/plugin/src/domain/characteristics.d.ts +44 -0
- package/build/plugin/src/domain/characteristics.d.ts.map +1 -0
- package/build/plugin/src/domain/characteristics.js +781 -0
- package/build/plugin/src/domain/characteristics.js.map +1 -0
- package/build/plugin/src/domain/deployment.d.ts +14 -0
- package/build/plugin/src/domain/deployment.d.ts.map +1 -0
- package/build/plugin/src/domain/deployment.js +14 -0
- package/build/plugin/src/domain/deployment.js.map +1 -0
- package/build/plugin/src/domain/index.d.ts +14 -0
- package/build/plugin/src/domain/index.d.ts.map +1 -0
- package/build/plugin/src/domain/index.js +37 -0
- package/build/plugin/src/domain/index.js.map +1 -0
- package/build/plugin/src/domain/rnCompat.d.ts +16 -0
- package/build/plugin/src/domain/rnCompat.d.ts.map +1 -0
- package/build/plugin/src/domain/rnCompat.js +37 -0
- package/build/plugin/src/domain/rnCompat.js.map +1 -0
- package/build/plugin/src/domain/types.d.ts +9 -0
- package/build/plugin/src/domain/types.d.ts.map +1 -0
- package/build/plugin/src/domain/types.js +10 -0
- package/build/plugin/src/domain/types.js.map +1 -0
- package/build/plugin/src/index.d.ts +2 -2
- package/build/plugin/src/index.d.ts.map +1 -1
- package/build/plugin/src/index.js +5 -0
- package/build/plugin/src/index.js.map +1 -1
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts +11 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.js +77 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/assets.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/assets.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/assets.js +50 -0
- package/build/plugin/src/ios/apply/fs/assets.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/entitlements.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/entitlements.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/entitlements.js +40 -0
- package/build/plugin/src/ios/apply/fs/entitlements.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/index.d.ts +14 -0
- package/build/plugin/src/ios/apply/fs/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/index.js +24 -0
- package/build/plugin/src/ios/apply/fs/index.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.d.ts +6 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.js +35 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/safari.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/safari.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/safari.js +45 -0
- package/build/plugin/src/ios/apply/fs/safari.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/stickers.d.ts +8 -0
- package/build/plugin/src/ios/apply/fs/stickers.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/stickers.js +72 -0
- package/build/plugin/src/ios/apply/fs/stickers.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/swift.d.ts +9 -0
- package/build/plugin/src/ios/apply/fs/swift.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/swift.js +63 -0
- package/build/plugin/src/ios/apply/fs/swift.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts +18 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js +308 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts +30 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.js +101 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts +37 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.js +80 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts +19 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.js +136 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +25 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js +196 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/embed.d.ts +63 -0
- package/build/plugin/src/ios/apply/pbx/embed.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/embed.js +572 -0
- package/build/plugin/src/ios/apply/pbx/embed.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts +26 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.js +122 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/groups.d.ts +25 -0
- package/build/plugin/src/ios/apply/pbx/groups.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/groups.js +84 -0
- package/build/plugin/src/ios/apply/pbx/groups.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/index.d.ts +17 -0
- package/build/plugin/src/ios/apply/pbx/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/index.js +50 -0
- package/build/plugin/src/ios/apply/pbx/index.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts +59 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.js +185 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/types.d.ts +12 -0
- package/build/plugin/src/ios/apply/pbx/types.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/types.js +6 -0
- package/build/plugin/src/ios/apply/pbx/types.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts +12 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js +76 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/index.d.ts +11 -0
- package/build/plugin/src/ios/apply/podfile/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/index.js +32 -0
- package/build/plugin/src/ios/apply/podfile/index.js.map +1 -0
- package/build/plugin/src/ios/{utils → apply/podfile}/podfile.d.ts +21 -5
- package/build/plugin/src/ios/apply/podfile/podfile.d.ts.map +1 -0
- package/{plugin/build/ios/utils → build/plugin/src/ios/apply/podfile}/podfile.js +310 -251
- package/build/plugin/src/ios/apply/podfile/podfile.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/scan.d.ts +40 -0
- package/build/plugin/src/ios/apply/podfile/scan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/scan.js +129 -0
- package/build/plugin/src/ios/apply/podfile/scan.js.map +1 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts +6 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.js +79 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.js.map +1 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts +6 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.js +150 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.js.map +1 -0
- package/build/plugin/src/ios/cng/swiftTypes.d.ts +4 -0
- package/build/plugin/src/ios/cng/swiftTypes.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/swiftTypes.js +34 -0
- package/build/plugin/src/ios/cng/swiftTypes.js.map +1 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts +16 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js +311 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js.map +1 -0
- package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts +5 -5
- package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEASCredentials.js +9 -9
- package/build/plugin/src/ios/config-plugins/withEASCredentials.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts +5 -2
- package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEntitlements.js +59 -44
- package/build/plugin/src/ios/config-plugins/withEntitlements.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts +4 -4
- package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIOSTarget.js +210 -165
- package/build/plugin/src/ios/config-plugins/withIOSTarget.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withPodfile.d.ts +7 -3
- package/build/plugin/src/ios/config-plugins/withPodfile.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withPodfile.js +39 -167
- package/build/plugin/src/ios/config-plugins/withPodfile.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts +9 -18
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.js +62 -717
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.js.map +1 -1
- package/build/plugin/src/ios/observe/index.d.ts +7 -0
- package/build/plugin/src/ios/observe/index.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/index.js +11 -0
- package/build/plugin/src/ios/observe/index.js.map +1 -0
- package/build/plugin/src/ios/observe/podsRb.d.ts +9 -0
- package/build/plugin/src/ios/observe/podsRb.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/podsRb.js +43 -0
- package/build/plugin/src/ios/observe/podsRb.js.map +1 -0
- package/build/plugin/src/ios/observe/workspace.d.ts +48 -0
- package/build/plugin/src/ios/observe/workspace.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/workspace.js +107 -0
- package/build/plugin/src/ios/observe/workspace.js.map +1 -0
- package/build/plugin/src/ios/plan/assets.d.ts +13 -0
- package/build/plugin/src/ios/plan/assets.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/assets.js +112 -0
- package/build/plugin/src/ios/plan/assets.js.map +1 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.d.ts +38 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.js +331 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.js.map +1 -0
- package/build/plugin/src/ios/plan/buildSettings.d.ts +9 -0
- package/build/plugin/src/ios/plan/buildSettings.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/buildSettings.js +218 -0
- package/build/plugin/src/ios/plan/buildSettings.js.map +1 -0
- package/build/plugin/src/ios/plan/bundleReactNative.d.ts +7 -0
- package/build/plugin/src/ios/plan/bundleReactNative.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/bundleReactNative.js +21 -0
- package/build/plugin/src/ios/plan/bundleReactNative.js.map +1 -0
- package/build/plugin/src/ios/plan/bundleResources.d.ts +11 -0
- package/build/plugin/src/ios/plan/bundleResources.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/bundleResources.js +23 -0
- package/build/plugin/src/ios/plan/bundleResources.js.map +1 -0
- package/build/plugin/src/ios/plan/compose.d.ts +7 -0
- package/build/plugin/src/ios/plan/compose.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/compose.js +53 -0
- package/build/plugin/src/ios/plan/compose.js.map +1 -0
- package/build/plugin/src/ios/plan/embed.d.ts +8 -0
- package/build/plugin/src/ios/plan/embed.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/embed.js +13 -0
- package/build/plugin/src/ios/plan/embed.js.map +1 -0
- package/build/plugin/src/ios/plan/entitlements.d.ts +19 -0
- package/build/plugin/src/ios/plan/entitlements.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/entitlements.js +72 -0
- package/build/plugin/src/ios/plan/entitlements.js.map +1 -0
- package/build/plugin/src/ios/plan/identity.d.ts +9 -0
- package/build/plugin/src/ios/plan/identity.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/identity.js +61 -0
- package/build/plugin/src/ios/plan/identity.js.map +1 -0
- package/build/plugin/src/ios/plan/index.d.ts +21 -0
- package/build/plugin/src/ios/plan/index.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/index.js +36 -0
- package/build/plugin/src/ios/plan/index.js.map +1 -0
- package/build/plugin/src/ios/plan/infoPlist.d.ts +8 -0
- package/build/plugin/src/ios/plan/infoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/infoPlist.js +96 -0
- package/build/plugin/src/ios/plan/infoPlist.js.map +1 -0
- package/build/plugin/src/ios/plan/podfile.d.ts +18 -0
- package/build/plugin/src/ios/plan/podfile.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/podfile.js +22 -0
- package/build/plugin/src/ios/plan/podfile.js.map +1 -0
- package/build/plugin/src/ios/plan/safari.d.ts +14 -0
- package/build/plugin/src/ios/plan/safari.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/safari.js +32 -0
- package/build/plugin/src/ios/plan/safari.js.map +1 -0
- package/build/plugin/src/ios/plan/swiftSources.d.ts +13 -0
- package/build/plugin/src/ios/plan/swiftSources.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/swiftSources.js +167 -0
- package/build/plugin/src/ios/plan/swiftSources.js.map +1 -0
- package/build/plugin/src/ios/plan/types.d.ts +191 -0
- package/build/plugin/src/ios/plan/types.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/types.js +3 -0
- package/build/plugin/src/ios/plan/types.js.map +1 -0
- package/build/plugin/src/ios/utils/asset.d.ts +4 -0
- package/build/plugin/src/ios/utils/asset.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/asset.js +150 -161
- package/build/plugin/src/ios/utils/asset.js.map +1 -1
- package/build/plugin/src/ios/utils/file.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/file.js +16 -17
- package/build/plugin/src/ios/utils/file.js.map +1 -1
- package/build/plugin/src/ios/utils/index.d.ts +9 -6
- package/build/plugin/src/ios/utils/index.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/index.js +10 -7
- package/build/plugin/src/ios/utils/index.js.map +1 -1
- package/build/plugin/src/ios/utils/paths.d.ts +23 -35
- package/build/plugin/src/ios/utils/paths.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/paths.js +38 -37
- package/build/plugin/src/ios/utils/paths.js.map +1 -1
- package/build/plugin/src/ios/utils/plist.d.ts +1 -0
- package/build/plugin/src/ios/utils/plist.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/plist.js +6 -29
- package/build/plugin/src/ios/utils/plist.js.map +1 -1
- package/build/plugin/src/ios/utils/reactNativeSwift.d.ts +1 -0
- package/build/plugin/src/ios/utils/reactNativeSwift.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/reactNativeSwift.js +101 -166
- package/build/plugin/src/ios/utils/reactNativeSwift.js.map +1 -1
- package/build/plugin/src/ios/utils/safari.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/safari.js +155 -97
- package/build/plugin/src/ios/utils/safari.js.map +1 -1
- package/build/plugin/src/logger.d.ts +4 -4
- package/build/plugin/src/logger.d.ts.map +1 -1
- package/build/plugin/src/logger.js +8 -15
- package/build/plugin/src/logger.js.map +1 -1
- package/build/plugin/src/withTargetsDir.d.ts +1 -1
- package/build/plugin/src/withTargetsDir.d.ts.map +1 -1
- package/build/plugin/src/withTargetsDir.js +216 -157
- package/build/plugin/src/withTargetsDir.js.map +1 -1
- package/build/src/Target.d.ts +15 -11
- package/build/src/Target.d.ts.map +1 -1
- package/build/src/Target.js +127 -132
- package/build/src/Target.js.map +1 -1
- package/build/src/index.d.ts +15 -9
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +46 -34
- package/build/src/index.js.map +1 -1
- package/build/src/modules/contentBlocker/index.d.ts +9 -0
- package/build/src/modules/contentBlocker/index.d.ts.map +1 -0
- package/build/src/modules/contentBlocker/index.js +29 -0
- package/build/src/modules/contentBlocker/index.js.map +1 -0
- package/build/src/modules/extension/index.d.ts +22 -0
- package/build/src/modules/extension/index.d.ts.map +1 -1
- package/build/src/modules/extension/index.js +54 -21
- package/build/src/modules/extension/index.js.map +1 -1
- package/build/src/modules/fileProvider/index.d.ts +12 -0
- package/build/src/modules/fileProvider/index.d.ts.map +1 -0
- package/build/src/modules/fileProvider/index.js +38 -0
- package/build/src/modules/fileProvider/index.js.map +1 -0
- package/build/src/modules/liveActivity/index.d.ts +21 -0
- package/build/src/modules/liveActivity/index.d.ts.map +1 -0
- package/build/src/modules/liveActivity/index.js +60 -0
- package/build/src/modules/liveActivity/index.js.map +1 -0
- package/build/src/modules/messages/index.d.ts +8 -0
- package/build/src/modules/messages/index.d.ts.map +1 -1
- package/build/src/modules/messages/index.js +38 -13
- package/build/src/modules/messages/index.js.map +1 -1
- package/build/src/modules/safari/bootstrapWeb.d.ts +7 -0
- package/build/src/modules/safari/bootstrapWeb.d.ts.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.js +12 -0
- package/build/src/modules/safari/bootstrapWeb.js.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.web.d.ts +9 -0
- package/build/src/modules/safari/bootstrapWeb.web.d.ts.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.web.js +24 -0
- package/build/src/modules/safari/bootstrapWeb.web.js.map +1 -0
- package/build/src/modules/safari/index.d.ts +5 -5
- package/build/src/modules/safari/index.d.ts.map +1 -1
- package/build/src/modules/safari/index.js +19 -66
- package/build/src/modules/safari/index.js.map +1 -1
- package/build/src/modules/storage/index.d.ts.map +1 -1
- package/build/src/modules/storage/index.js +8 -12
- package/build/src/modules/storage/index.js.map +1 -1
- package/build/src/modules/targetsConfig.d.ts +6 -0
- package/build/src/modules/targetsConfig.d.ts.map +1 -0
- package/build/src/modules/targetsConfig.js +56 -0
- package/build/src/modules/targetsConfig.js.map +1 -0
- package/expo-module.config.json +4 -1
- package/ios/ExpoTargetsContentBlockerModule.swift +20 -0
- package/ios/ExpoTargetsExtension.podspec +1 -3
- package/ios/ExpoTargetsFileProviderModule.swift +45 -0
- package/ios/ExpoTargetsLiveActivityBridge.swift +51 -0
- package/ios/ExpoTargetsLiveActivityModule.swift +101 -0
- package/ios/ExpoTargetsMessagesModule.swift +31 -0
- package/ios/ExpoTargetsStorage.podspec +10 -4
- package/metro/build/index.d.ts +1 -1
- package/metro/build/index.d.ts.map +1 -1
- package/metro/build/index.js +2 -1
- package/metro/build/index.js.map +1 -1
- package/metro/build/withTargetsMetro.d.ts +14 -0
- package/metro/build/withTargetsMetro.d.ts.map +1 -1
- package/metro/build/withTargetsMetro.js +75 -23
- package/metro/build/withTargetsMetro.js.map +1 -1
- package/package.json +10 -8
- package/plugin/build/android/widgetSourceSets.d.ts +10 -0
- package/plugin/build/android/widgetSourceSets.d.ts.map +1 -0
- package/plugin/build/android/widgetSourceSets.js +167 -0
- package/plugin/build/android/widgetSourceSets.js.map +1 -0
- package/plugin/build/android/withAndroidAppBuildGradle.d.ts +1 -1
- package/plugin/build/android/withAndroidAppBuildGradle.d.ts.map +1 -1
- package/plugin/build/android/withAndroidAppBuildGradle.js +0 -1
- package/plugin/build/android/withAndroidAppBuildGradle.js.map +1 -1
- package/plugin/build/android/withAndroidTarget.d.ts +1 -1
- package/plugin/build/android/withAndroidTarget.d.ts.map +1 -1
- package/plugin/build/android/withAndroidTarget.js +0 -1
- package/plugin/build/android/withAndroidTarget.js.map +1 -1
- package/plugin/build/android/withAndroidWidget.d.ts +1 -1
- package/plugin/build/android/withAndroidWidget.d.ts.map +1 -1
- package/plugin/build/android/withAndroidWidget.js +174 -249
- package/plugin/build/android/withAndroidWidget.js.map +1 -1
- package/plugin/build/config.d.ts +52 -10
- package/plugin/build/config.d.ts.map +1 -1
- package/plugin/build/config.js +49 -1
- package/plugin/build/config.js.map +1 -1
- package/plugin/build/domain/appGroups.d.ts +19 -0
- package/plugin/build/domain/appGroups.d.ts.map +1 -0
- package/plugin/build/domain/appGroups.js +44 -0
- package/plugin/build/domain/appGroups.js.map +1 -0
- package/plugin/build/domain/bundleIds.d.ts +9 -0
- package/plugin/build/domain/bundleIds.d.ts.map +1 -0
- package/plugin/build/domain/bundleIds.js +10 -0
- package/plugin/build/domain/bundleIds.js.map +1 -0
- package/plugin/build/domain/characteristics.d.ts +44 -0
- package/plugin/build/domain/characteristics.d.ts.map +1 -0
- package/plugin/build/domain/characteristics.js +781 -0
- package/plugin/build/domain/characteristics.js.map +1 -0
- package/plugin/build/domain/deployment.d.ts +14 -0
- package/plugin/build/domain/deployment.d.ts.map +1 -0
- package/plugin/build/domain/deployment.js +14 -0
- package/plugin/build/domain/deployment.js.map +1 -0
- package/plugin/build/domain/index.d.ts +14 -0
- package/plugin/build/domain/index.d.ts.map +1 -0
- package/plugin/build/domain/index.js +37 -0
- package/plugin/build/domain/index.js.map +1 -0
- package/plugin/build/domain/rnCompat.d.ts +16 -0
- package/plugin/build/domain/rnCompat.d.ts.map +1 -0
- package/plugin/build/domain/rnCompat.js +37 -0
- package/plugin/build/domain/rnCompat.js.map +1 -0
- package/plugin/build/domain/types.d.ts +9 -0
- package/plugin/build/domain/types.d.ts.map +1 -0
- package/plugin/build/domain/types.js +10 -0
- package/plugin/build/domain/types.js.map +1 -0
- package/plugin/build/index.d.ts +2 -2
- package/plugin/build/index.d.ts.map +1 -1
- package/plugin/build/index.js +5 -0
- package/plugin/build/index.js.map +1 -1
- package/plugin/build/ios/apply/fs/applyTargetPlan.d.ts +11 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.js +77 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.js.map +1 -0
- package/plugin/build/ios/apply/fs/assets.d.ts +7 -0
- package/plugin/build/ios/apply/fs/assets.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/assets.js +50 -0
- package/plugin/build/ios/apply/fs/assets.js.map +1 -0
- package/plugin/build/ios/apply/fs/entitlements.d.ts +7 -0
- package/plugin/build/ios/apply/fs/entitlements.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/entitlements.js +40 -0
- package/plugin/build/ios/apply/fs/entitlements.js.map +1 -0
- package/plugin/build/ios/apply/fs/index.d.ts +14 -0
- package/plugin/build/ios/apply/fs/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/index.js +24 -0
- package/plugin/build/ios/apply/fs/index.js.map +1 -0
- package/plugin/build/ios/apply/fs/infoPlist.d.ts +6 -0
- package/plugin/build/ios/apply/fs/infoPlist.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/infoPlist.js +35 -0
- package/plugin/build/ios/apply/fs/infoPlist.js.map +1 -0
- package/plugin/build/ios/apply/fs/safari.d.ts +7 -0
- package/plugin/build/ios/apply/fs/safari.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/safari.js +45 -0
- package/plugin/build/ios/apply/fs/safari.js.map +1 -0
- package/plugin/build/ios/apply/fs/stickers.d.ts +8 -0
- package/plugin/build/ios/apply/fs/stickers.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/stickers.js +72 -0
- package/plugin/build/ios/apply/fs/stickers.js.map +1 -0
- package/plugin/build/ios/apply/fs/swift.d.ts +9 -0
- package/plugin/build/ios/apply/fs/swift.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/swift.js +63 -0
- package/plugin/build/ios/apply/fs/swift.js.map +1 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.d.ts +18 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.js +308 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.js.map +1 -0
- package/plugin/build/ios/apply/pbx/buildPhases.d.ts +30 -0
- package/plugin/build/ios/apply/pbx/buildPhases.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/buildPhases.js +101 -0
- package/plugin/build/ios/apply/pbx/buildPhases.js.map +1 -0
- package/plugin/build/ios/apply/pbx/buildSettings.d.ts +37 -0
- package/plugin/build/ios/apply/pbx/buildSettings.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/buildSettings.js +80 -0
- package/plugin/build/ios/apply/pbx/buildSettings.js.map +1 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.d.ts +19 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.js +136 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.js.map +1 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +25 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js +196 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +1 -0
- package/plugin/build/ios/apply/pbx/embed.d.ts +63 -0
- package/plugin/build/ios/apply/pbx/embed.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/embed.js +572 -0
- package/plugin/build/ios/apply/pbx/embed.js.map +1 -0
- package/plugin/build/ios/apply/pbx/fileRefs.d.ts +26 -0
- package/plugin/build/ios/apply/pbx/fileRefs.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/fileRefs.js +122 -0
- package/plugin/build/ios/apply/pbx/fileRefs.js.map +1 -0
- package/plugin/build/ios/apply/pbx/groups.d.ts +25 -0
- package/plugin/build/ios/apply/pbx/groups.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/groups.js +84 -0
- package/plugin/build/ios/apply/pbx/groups.js.map +1 -0
- package/plugin/build/ios/apply/pbx/index.d.ts +17 -0
- package/plugin/build/ios/apply/pbx/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/index.js +50 -0
- package/plugin/build/ios/apply/pbx/index.js.map +1 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.d.ts +59 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.js +185 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.js.map +1 -0
- package/plugin/build/ios/apply/pbx/types.d.ts +12 -0
- package/plugin/build/ios/apply/pbx/types.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/types.js +6 -0
- package/plugin/build/ios/apply/pbx/types.js.map +1 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.d.ts +12 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.js +76 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.js.map +1 -0
- package/plugin/build/ios/apply/podfile/index.d.ts +11 -0
- package/plugin/build/ios/apply/podfile/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/index.js +32 -0
- package/plugin/build/ios/apply/podfile/index.js.map +1 -0
- package/plugin/build/ios/{utils → apply/podfile}/podfile.d.ts +21 -5
- package/plugin/build/ios/apply/podfile/podfile.d.ts.map +1 -0
- package/{build/plugin/src/ios/utils → plugin/build/ios/apply/podfile}/podfile.js +310 -251
- package/plugin/build/ios/apply/podfile/podfile.js.map +1 -0
- package/plugin/build/ios/apply/podfile/scan.d.ts +40 -0
- package/plugin/build/ios/apply/podfile/scan.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/scan.js +129 -0
- package/plugin/build/ios/apply/podfile/scan.js.map +1 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.d.ts +6 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.d.ts.map +1 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.js +79 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.js.map +1 -0
- package/plugin/build/ios/cng/liveActivityCodegen.d.ts +6 -0
- package/plugin/build/ios/cng/liveActivityCodegen.d.ts.map +1 -0
- package/plugin/build/ios/cng/liveActivityCodegen.js +150 -0
- package/plugin/build/ios/cng/liveActivityCodegen.js.map +1 -0
- package/plugin/build/ios/cng/swiftTypes.d.ts +4 -0
- package/plugin/build/ios/cng/swiftTypes.d.ts.map +1 -0
- package/plugin/build/ios/cng/swiftTypes.js +34 -0
- package/plugin/build/ios/cng/swiftTypes.js.map +1 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts +16 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts.map +1 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.js +311 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.js.map +1 -0
- package/plugin/build/ios/config-plugins/withEASCredentials.d.ts +5 -5
- package/plugin/build/ios/config-plugins/withEASCredentials.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withEASCredentials.js +9 -9
- package/plugin/build/ios/config-plugins/withEASCredentials.js.map +1 -1
- package/plugin/build/ios/config-plugins/withEntitlements.d.ts +5 -2
- package/plugin/build/ios/config-plugins/withEntitlements.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withEntitlements.js +59 -44
- package/plugin/build/ios/config-plugins/withEntitlements.js.map +1 -1
- package/plugin/build/ios/config-plugins/withIOSTarget.d.ts +4 -4
- package/plugin/build/ios/config-plugins/withIOSTarget.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withIOSTarget.js +210 -165
- package/plugin/build/ios/config-plugins/withIOSTarget.js.map +1 -1
- package/plugin/build/ios/config-plugins/withPodfile.d.ts +7 -3
- package/plugin/build/ios/config-plugins/withPodfile.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withPodfile.js +39 -167
- package/plugin/build/ios/config-plugins/withPodfile.js.map +1 -1
- package/plugin/build/ios/config-plugins/withXcodeChanges.d.ts +9 -18
- package/plugin/build/ios/config-plugins/withXcodeChanges.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withXcodeChanges.js +62 -717
- package/plugin/build/ios/config-plugins/withXcodeChanges.js.map +1 -1
- package/plugin/build/ios/observe/index.d.ts +7 -0
- package/plugin/build/ios/observe/index.d.ts.map +1 -0
- package/plugin/build/ios/observe/index.js +11 -0
- package/plugin/build/ios/observe/index.js.map +1 -0
- package/plugin/build/ios/observe/podsRb.d.ts +9 -0
- package/plugin/build/ios/observe/podsRb.d.ts.map +1 -0
- package/plugin/build/ios/observe/podsRb.js +43 -0
- package/plugin/build/ios/observe/podsRb.js.map +1 -0
- package/plugin/build/ios/observe/workspace.d.ts +48 -0
- package/plugin/build/ios/observe/workspace.d.ts.map +1 -0
- package/plugin/build/ios/observe/workspace.js +107 -0
- package/plugin/build/ios/observe/workspace.js.map +1 -0
- package/plugin/build/ios/plan/assets.d.ts +13 -0
- package/plugin/build/ios/plan/assets.d.ts.map +1 -0
- package/plugin/build/ios/plan/assets.js +112 -0
- package/plugin/build/ios/plan/assets.js.map +1 -0
- package/plugin/build/ios/plan/buildInfoPlist.d.ts +38 -0
- package/plugin/build/ios/plan/buildInfoPlist.d.ts.map +1 -0
- package/plugin/build/ios/plan/buildInfoPlist.js +331 -0
- package/plugin/build/ios/plan/buildInfoPlist.js.map +1 -0
- package/plugin/build/ios/plan/buildSettings.d.ts +9 -0
- package/plugin/build/ios/plan/buildSettings.d.ts.map +1 -0
- package/plugin/build/ios/plan/buildSettings.js +218 -0
- package/plugin/build/ios/plan/buildSettings.js.map +1 -0
- package/plugin/build/ios/plan/bundleReactNative.d.ts +7 -0
- package/plugin/build/ios/plan/bundleReactNative.d.ts.map +1 -0
- package/plugin/build/ios/plan/bundleReactNative.js +21 -0
- package/plugin/build/ios/plan/bundleReactNative.js.map +1 -0
- package/plugin/build/ios/plan/bundleResources.d.ts +11 -0
- package/plugin/build/ios/plan/bundleResources.d.ts.map +1 -0
- package/plugin/build/ios/plan/bundleResources.js +23 -0
- package/plugin/build/ios/plan/bundleResources.js.map +1 -0
- package/plugin/build/ios/plan/compose.d.ts +7 -0
- package/plugin/build/ios/plan/compose.d.ts.map +1 -0
- package/plugin/build/ios/plan/compose.js +53 -0
- package/plugin/build/ios/plan/compose.js.map +1 -0
- package/plugin/build/ios/plan/embed.d.ts +8 -0
- package/plugin/build/ios/plan/embed.d.ts.map +1 -0
- package/plugin/build/ios/plan/embed.js +13 -0
- package/plugin/build/ios/plan/embed.js.map +1 -0
- package/plugin/build/ios/plan/entitlements.d.ts +19 -0
- package/plugin/build/ios/plan/entitlements.d.ts.map +1 -0
- package/plugin/build/ios/plan/entitlements.js +72 -0
- package/plugin/build/ios/plan/entitlements.js.map +1 -0
- package/plugin/build/ios/plan/identity.d.ts +9 -0
- package/plugin/build/ios/plan/identity.d.ts.map +1 -0
- package/plugin/build/ios/plan/identity.js +61 -0
- package/plugin/build/ios/plan/identity.js.map +1 -0
- package/plugin/build/ios/plan/index.d.ts +21 -0
- package/plugin/build/ios/plan/index.d.ts.map +1 -0
- package/plugin/build/ios/plan/index.js +36 -0
- package/plugin/build/ios/plan/index.js.map +1 -0
- package/plugin/build/ios/plan/infoPlist.d.ts +8 -0
- package/plugin/build/ios/plan/infoPlist.d.ts.map +1 -0
- package/plugin/build/ios/plan/infoPlist.js +96 -0
- package/plugin/build/ios/plan/infoPlist.js.map +1 -0
- package/plugin/build/ios/plan/podfile.d.ts +18 -0
- package/plugin/build/ios/plan/podfile.d.ts.map +1 -0
- package/plugin/build/ios/plan/podfile.js +22 -0
- package/plugin/build/ios/plan/podfile.js.map +1 -0
- package/plugin/build/ios/plan/safari.d.ts +14 -0
- package/plugin/build/ios/plan/safari.d.ts.map +1 -0
- package/plugin/build/ios/plan/safari.js +32 -0
- package/plugin/build/ios/plan/safari.js.map +1 -0
- package/plugin/build/ios/plan/swiftSources.d.ts +13 -0
- package/plugin/build/ios/plan/swiftSources.d.ts.map +1 -0
- package/plugin/build/ios/plan/swiftSources.js +167 -0
- package/plugin/build/ios/plan/swiftSources.js.map +1 -0
- package/plugin/build/ios/plan/types.d.ts +191 -0
- package/plugin/build/ios/plan/types.d.ts.map +1 -0
- package/plugin/build/ios/plan/types.js +3 -0
- package/plugin/build/ios/plan/types.js.map +1 -0
- package/plugin/build/ios/templates/ReactNativeClipApp.swift +48 -0
- package/plugin/build/ios/templates/ReactNativeViewController.swift +9 -7
- package/plugin/build/ios/templates/clip-extension-data.swift +4 -6
- package/plugin/build/ios/utils/asset.d.ts +4 -0
- package/plugin/build/ios/utils/asset.d.ts.map +1 -1
- package/plugin/build/ios/utils/asset.js +150 -161
- package/plugin/build/ios/utils/asset.js.map +1 -1
- package/plugin/build/ios/utils/file.d.ts.map +1 -1
- package/plugin/build/ios/utils/file.js +16 -17
- package/plugin/build/ios/utils/file.js.map +1 -1
- package/plugin/build/ios/utils/index.d.ts +9 -6
- package/plugin/build/ios/utils/index.d.ts.map +1 -1
- package/plugin/build/ios/utils/index.js +10 -7
- package/plugin/build/ios/utils/index.js.map +1 -1
- package/plugin/build/ios/utils/paths.d.ts +23 -35
- package/plugin/build/ios/utils/paths.d.ts.map +1 -1
- package/plugin/build/ios/utils/paths.js +38 -37
- package/plugin/build/ios/utils/paths.js.map +1 -1
- package/plugin/build/ios/utils/plist.d.ts +1 -0
- package/plugin/build/ios/utils/plist.d.ts.map +1 -1
- package/plugin/build/ios/utils/plist.js +6 -29
- package/plugin/build/ios/utils/plist.js.map +1 -1
- package/plugin/build/ios/utils/reactNativeSwift.d.ts +1 -0
- package/plugin/build/ios/utils/reactNativeSwift.d.ts.map +1 -1
- package/plugin/build/ios/utils/reactNativeSwift.js +101 -166
- package/plugin/build/ios/utils/reactNativeSwift.js.map +1 -1
- package/plugin/build/ios/utils/safari.d.ts.map +1 -1
- package/plugin/build/ios/utils/safari.js +155 -97
- package/plugin/build/ios/utils/safari.js.map +1 -1
- package/plugin/build/logger.d.ts +4 -4
- package/plugin/build/logger.d.ts.map +1 -1
- package/plugin/build/logger.js +8 -15
- package/plugin/build/logger.js.map +1 -1
- package/plugin/build/withTargetsDir.d.ts +1 -1
- package/plugin/build/withTargetsDir.d.ts.map +1 -1
- package/plugin/build/withTargetsDir.js +216 -157
- package/plugin/build/withTargetsDir.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIosColorset.d.ts +0 -8
- package/build/plugin/src/ios/config-plugins/withIosColorset.d.ts.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosColorset.js +0 -25
- package/build/plugin/src/ios/config-plugins/withIosColorset.js.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.d.ts +0 -8
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.d.ts.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.js +0 -52
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.js.map +0 -1
- package/build/plugin/src/ios/target.d.ts +0 -44
- package/build/plugin/src/ios/target.d.ts.map +0 -1
- package/build/plugin/src/ios/target.js +0 -670
- package/build/plugin/src/ios/target.js.map +0 -1
- package/build/plugin/src/ios/utils/podfile.d.ts.map +0 -1
- package/build/plugin/src/ios/utils/podfile.js.map +0 -1
- package/build/plugin/src/ios/utils/xcode.d.ts +0 -185
- package/build/plugin/src/ios/utils/xcode.d.ts.map +0 -1
- package/build/plugin/src/ios/utils/xcode.js +0 -706
- package/build/plugin/src/ios/utils/xcode.js.map +0 -1
- package/build/plugin/src/parseTargetConfig.d.ts +0 -3
- package/build/plugin/src/parseTargetConfig.d.ts.map +0 -1
- package/build/plugin/src/parseTargetConfig.js +0 -113
- package/build/plugin/src/parseTargetConfig.js.map +0 -1
- package/ios/Tests/.swiftlint.yml +0 -52
- package/ios/Tests/Helpers/MockExtensionContext.swift +0 -58
- package/ios/Tests/Helpers/MockUserDefaults.swift +0 -70
- package/ios/Tests/Helpers/MockWidgetCenter.swift +0 -71
- package/ios/Tests/Helpers/TestHelpers.swift +0 -90
- package/ios/Tests/Integration/TargetIntegrationTests.swift +0 -478
- package/ios/Tests/Main/AllTests.swift +0 -80
- package/ios/Tests/Package.swift +0 -66
- package/ios/Tests/Performance/StoragePerformanceTests.swift +0 -461
- package/ios/Tests/Unit/Extension/ExpoTargetsExtensionModuleTests.swift +0 -501
- package/ios/Tests/Unit/Storage/ExpoTargetsStorageModuleTests.swift +0 -578
- package/ios/Tests/Unit/Template/ShareExtensionTemplateTests.swift +0 -421
- package/ios/Tests/XCTestPlan.xctestplan +0 -87
- package/plugin/build/ios/config-plugins/withIosColorset.d.ts +0 -8
- package/plugin/build/ios/config-plugins/withIosColorset.d.ts.map +0 -1
- package/plugin/build/ios/config-plugins/withIosColorset.js +0 -25
- package/plugin/build/ios/config-plugins/withIosColorset.js.map +0 -1
- package/plugin/build/ios/config-plugins/withIosStickerPack.d.ts +0 -8
- package/plugin/build/ios/config-plugins/withIosStickerPack.d.ts.map +0 -1
- package/plugin/build/ios/config-plugins/withIosStickerPack.js +0 -52
- package/plugin/build/ios/config-plugins/withIosStickerPack.js.map +0 -1
- package/plugin/build/ios/target.d.ts +0 -44
- package/plugin/build/ios/target.d.ts.map +0 -1
- package/plugin/build/ios/target.js +0 -670
- package/plugin/build/ios/target.js.map +0 -1
- package/plugin/build/ios/utils/podfile.d.ts.map +0 -1
- package/plugin/build/ios/utils/podfile.js.map +0 -1
- package/plugin/build/ios/utils/xcode.d.ts +0 -185
- package/plugin/build/ios/utils/xcode.d.ts.map +0 -1
- package/plugin/build/ios/utils/xcode.js +0 -706
- package/plugin/build/ios/utils/xcode.js.map +0 -1
- package/plugin/build/parseTargetConfig.d.ts +0 -3
- package/plugin/build/parseTargetConfig.d.ts.map +0 -1
- package/plugin/build/parseTargetConfig.js +0 -113
- package/plugin/build/parseTargetConfig.js.map +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.planBundleResources = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
8
|
+
/**
|
|
9
|
+
* Non-source files that must land in Copy Bundle Resources (e.g. content
|
|
10
|
+
* blocker `blockerList.json`).
|
|
11
|
+
*/
|
|
12
|
+
function planBundleResources({ workspace, paths, }) {
|
|
13
|
+
return workspace.bundleResourceFiles.map((rel) => {
|
|
14
|
+
const sourcePath = node_path_1.default.join(workspace.targetDirectory, rel);
|
|
15
|
+
return {
|
|
16
|
+
file: node_path_1.default.basename(rel),
|
|
17
|
+
sourcePath,
|
|
18
|
+
referencePath: node_path_1.default.relative(paths.platformProjectRoot, sourcePath),
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
exports.planBundleResources = planBundleResources;
|
|
23
|
+
//# sourceMappingURL=bundleResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundleResources.js","sourceRoot":"","sources":["../../../src/ios/plan/bundleResources.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAK7B;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,KAAK,GAIN;IACC,OAAO,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/C,MAAM,UAAU,GAAG,mBAAI,CAAC,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;QAC7D,OAAO;YACL,IAAI,EAAE,mBAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;YACxB,UAAU;YACV,aAAa,EAAE,mBAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,mBAAmB,EAAE,UAAU,CAAC;SACpE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAfD,kDAeC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TargetPlanInput, XcodeTargetPlan } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Turn resolved props plus an observed workspace into a complete target plan.
|
|
4
|
+
* Everything downstream (file writes, PBX mutation) reads only this object.
|
|
5
|
+
*/
|
|
6
|
+
export declare function composeXcodeTargetPlan({ props, expoConfig, workspace, paths, mainBuildSettings, }: TargetPlanInput): XcodeTargetPlan;
|
|
7
|
+
//# sourceMappingURL=compose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/compose.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,UAAU,EACV,SAAS,EACT,KAAK,EACL,iBAAiB,GAClB,EAAE,eAAe,GAAG,eAAe,CAkCnC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.composeXcodeTargetPlan = void 0;
|
|
4
|
+
const domain_1 = require("../../domain");
|
|
5
|
+
const assets_1 = require("./assets");
|
|
6
|
+
const buildSettings_1 = require("./buildSettings");
|
|
7
|
+
const bundleReactNative_1 = require("./bundleReactNative");
|
|
8
|
+
const bundleResources_1 = require("./bundleResources");
|
|
9
|
+
const embed_1 = require("./embed");
|
|
10
|
+
const identity_1 = require("./identity");
|
|
11
|
+
const infoPlist_1 = require("./infoPlist");
|
|
12
|
+
const safari_1 = require("./safari");
|
|
13
|
+
const swiftSources_1 = require("./swiftSources");
|
|
14
|
+
/**
|
|
15
|
+
* Turn resolved props plus an observed workspace into a complete target plan.
|
|
16
|
+
* Everything downstream (file writes, PBX mutation) reads only this object.
|
|
17
|
+
*/
|
|
18
|
+
function composeXcodeTargetPlan({ props, expoConfig, workspace, paths, mainBuildSettings, }) {
|
|
19
|
+
const typeConfig = domain_1.TYPE_CHARACTERISTICS[props.type];
|
|
20
|
+
const identity = (0, identity_1.resolveIdentity)({
|
|
21
|
+
props,
|
|
22
|
+
mainBundleIdentifier: expoConfig.ios?.bundleIdentifier,
|
|
23
|
+
});
|
|
24
|
+
const infoPlist = (0, infoPlist_1.planInfoPlist)({ props, expoConfig, paths });
|
|
25
|
+
return {
|
|
26
|
+
identity,
|
|
27
|
+
workspace,
|
|
28
|
+
requiresCode: typeConfig.requiresCode,
|
|
29
|
+
requiresEntitlements: typeConfig.requiresEntitlements,
|
|
30
|
+
infoPlist,
|
|
31
|
+
buildSettings: (0, buildSettings_1.planBuildSettings)({
|
|
32
|
+
props,
|
|
33
|
+
identity,
|
|
34
|
+
expoConfig,
|
|
35
|
+
mainBuildSettings,
|
|
36
|
+
paths,
|
|
37
|
+
infoPlistReferencePath: infoPlist.referencePath,
|
|
38
|
+
}),
|
|
39
|
+
swiftFiles: (0, swiftSources_1.planSwiftSources)({
|
|
40
|
+
workspace,
|
|
41
|
+
props,
|
|
42
|
+
identity,
|
|
43
|
+
platformProjectRoot: paths.platformProjectRoot,
|
|
44
|
+
}),
|
|
45
|
+
assets: (0, assets_1.planAssets)({ workspace, props, identity, paths }),
|
|
46
|
+
safari: (0, safari_1.planSafariResources)({ workspace, props, paths }),
|
|
47
|
+
bundleResources: (0, bundleResources_1.planBundleResources)({ workspace, paths }),
|
|
48
|
+
embed: (0, embed_1.planEmbed)(props.type),
|
|
49
|
+
bundleReactNative: (0, bundleReactNative_1.planBundleReactNative)(props),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.composeXcodeTargetPlan = composeXcodeTargetPlan;
|
|
53
|
+
//# sourceMappingURL=compose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose.js","sourceRoot":"","sources":["../../../src/ios/plan/compose.ts"],"names":[],"mappings":";;;AAAA,yCAAoD;AACpD,qCAAsC;AACtC,mDAAoD;AACpD,2DAA4D;AAC5D,uDAAwD;AACxD,mCAAoC;AACpC,yCAA6C;AAC7C,2CAA4C;AAC5C,qCAA+C;AAC/C,iDAAkD;AAGlD;;;GAGG;AACH,SAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,UAAU,EACV,SAAS,EACT,KAAK,EACL,iBAAiB,GACD;IAChB,MAAM,UAAU,GAAG,6BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,IAAA,0BAAe,EAAC;QAC/B,KAAK;QACL,oBAAoB,EAAE,UAAU,CAAC,GAAG,EAAE,gBAAgB;KACvD,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,IAAA,yBAAa,EAAC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;IAE9D,OAAO;QACL,QAAQ;QACR,SAAS;QACT,YAAY,EAAE,UAAU,CAAC,YAAY;QACrC,oBAAoB,EAAE,UAAU,CAAC,oBAAoB;QACrD,SAAS;QACT,aAAa,EAAE,IAAA,iCAAiB,EAAC;YAC/B,KAAK;YACL,QAAQ;YACR,UAAU;YACV,iBAAiB;YACjB,KAAK;YACL,sBAAsB,EAAE,SAAS,CAAC,aAAa;SAChD,CAAC;QACF,UAAU,EAAE,IAAA,+BAAgB,EAAC;YAC3B,SAAS;YACT,KAAK;YACL,QAAQ;YACR,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;SAC/C,CAAC;QACF,MAAM,EAAE,IAAA,mBAAU,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QACzD,MAAM,EAAE,IAAA,4BAAmB,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QACxD,eAAe,EAAE,IAAA,qCAAmB,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;QAC1D,KAAK,EAAE,IAAA,iBAAS,EAAC,KAAK,CAAC,IAAI,CAAC;QAC5B,iBAAiB,EAAE,IAAA,yCAAqB,EAAC,KAAK,CAAC;KAChD,CAAC;AACJ,CAAC;AAxCD,wDAwCC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExtensionType } from '../../domain';
|
|
2
|
+
import type { EmbedPlan } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* How the target gets embedded into the host app.
|
|
5
|
+
* `none` covers standalone products such as watch apps.
|
|
6
|
+
*/
|
|
7
|
+
export declare function planEmbed(type: ExtensionType): EmbedPlan;
|
|
8
|
+
//# sourceMappingURL=embed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/embed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,CAExD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.planEmbed = void 0;
|
|
4
|
+
const domain_1 = require("../../domain");
|
|
5
|
+
/**
|
|
6
|
+
* How the target gets embedded into the host app.
|
|
7
|
+
* `none` covers standalone products such as watch apps.
|
|
8
|
+
*/
|
|
9
|
+
function planEmbed(type) {
|
|
10
|
+
return { kind: domain_1.TYPE_CHARACTERISTICS[type].embedType };
|
|
11
|
+
}
|
|
12
|
+
exports.planEmbed = planEmbed;
|
|
13
|
+
//# sourceMappingURL=embed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../src/ios/plan/embed.ts"],"names":[],"mappings":";;;AACA,yCAAoD;AAGpD;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAmB;IAC3C,OAAO,EAAE,IAAI,EAAE,6BAAoB,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;AACxD,CAAC;AAFD,8BAEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ExtensionType } from '../../domain';
|
|
2
|
+
import type { EntitlementsPlan } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Plan the target's `generated.entitlements` contents.
|
|
5
|
+
*
|
|
6
|
+
* Asset-only targets get `required: false` and are skipped by the applier.
|
|
7
|
+
*/
|
|
8
|
+
export declare function planEntitlements({ type, entitlements: configured, mainBundleIdentifier, mainAppGroups, paths, }: {
|
|
9
|
+
type: ExtensionType;
|
|
10
|
+
entitlements?: Record<string, any>;
|
|
11
|
+
mainBundleIdentifier?: string;
|
|
12
|
+
mainAppGroups?: string[];
|
|
13
|
+
paths: {
|
|
14
|
+
platformProjectRoot: string;
|
|
15
|
+
projectName: string;
|
|
16
|
+
productName: string;
|
|
17
|
+
};
|
|
18
|
+
}): EntitlementsPlan;
|
|
19
|
+
//# sourceMappingURL=entitlements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/entitlements.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAQlD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EAAE,UAAU,EACxB,oBAAoB,EACpB,aAAa,EACb,KAAK,GACN,EAAE;IACD,IAAI,EAAE,aAAa,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE;QACL,mBAAmB,EAAE,MAAM,CAAC;QAC5B,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,GAAG,gBAAgB,CAgDnB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.planEntitlements = void 0;
|
|
27
|
+
const domain_1 = require("../../domain");
|
|
28
|
+
const Paths = __importStar(require("../utils/paths"));
|
|
29
|
+
const Plist = __importStar(require("../utils/plist"));
|
|
30
|
+
/**
|
|
31
|
+
* Plan the target's `generated.entitlements` contents.
|
|
32
|
+
*
|
|
33
|
+
* Asset-only targets get `required: false` and are skipped by the applier.
|
|
34
|
+
*/
|
|
35
|
+
function planEntitlements({ type, entitlements: configured, mainBundleIdentifier, mainAppGroups, paths, }) {
|
|
36
|
+
const entitlementsPath = Paths.getTargetEntitlementsPath(paths);
|
|
37
|
+
const required = domain_1.TYPE_CHARACTERISTICS[type].requiresEntitlements;
|
|
38
|
+
if (!required) {
|
|
39
|
+
return {
|
|
40
|
+
required,
|
|
41
|
+
path: entitlementsPath,
|
|
42
|
+
entitlements: {},
|
|
43
|
+
syncedAppGroups: false,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
let entitlements = { ...(configured || {}) };
|
|
47
|
+
if (type === 'clip' && mainBundleIdentifier) {
|
|
48
|
+
entitlements = Plist.mergeAppClipEntitlements(entitlements, mainBundleIdentifier);
|
|
49
|
+
}
|
|
50
|
+
// Payment pass provisioning is a restricted capability; it is written to the
|
|
51
|
+
// entitlements file but never sent to EAS credentials.
|
|
52
|
+
if (type === 'wallet' || type === 'wallet-ui') {
|
|
53
|
+
entitlements['com.apple.developer.payment-pass-provisioning'] = true;
|
|
54
|
+
}
|
|
55
|
+
const syncsAppGroups = (0, domain_1.shouldUseAppGroups)(type) &&
|
|
56
|
+
Array.isArray(mainAppGroups) &&
|
|
57
|
+
mainAppGroups.length > 0;
|
|
58
|
+
if ((0, domain_1.shouldUseAppGroups)(type)) {
|
|
59
|
+
entitlements = Plist.syncAppGroups({
|
|
60
|
+
targetEntitlements: entitlements,
|
|
61
|
+
mainAppGroups,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
required,
|
|
66
|
+
path: entitlementsPath,
|
|
67
|
+
entitlements,
|
|
68
|
+
syncedAppGroups: Boolean(syncsAppGroups && entitlements[domain_1.APP_GROUP_ENTITLEMENT_KEY]),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.planEntitlements = planEntitlements;
|
|
72
|
+
//# sourceMappingURL=entitlements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.js","sourceRoot":"","sources":["../../../src/ios/plan/entitlements.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAIsB;AACtB,sDAAwC;AACxC,sDAAwC;AAGxC;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EAAE,UAAU,EACxB,oBAAoB,EACpB,aAAa,EACb,KAAK,GAWN;IACC,MAAM,gBAAgB,GAAG,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAG,6BAAoB,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC;IAEjE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO;YACL,QAAQ;YACR,IAAI,EAAE,gBAAgB;YACtB,YAAY,EAAE,EAAE;YAChB,eAAe,EAAE,KAAK;SACvB,CAAC;IACJ,CAAC;IAED,IAAI,YAAY,GAAwB,EAAE,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE,CAAC;IAElE,IAAI,IAAI,KAAK,MAAM,IAAI,oBAAoB,EAAE,CAAC;QAC5C,YAAY,GAAG,KAAK,CAAC,wBAAwB,CAC3C,YAAY,EACZ,oBAAoB,CACrB,CAAC;IACJ,CAAC;IAED,6EAA6E;IAC7E,uDAAuD;IACvD,IAAI,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QAC9C,YAAY,CAAC,+CAA+C,CAAC,GAAG,IAAI,CAAC;IACvE,CAAC;IAED,MAAM,cAAc,GAClB,IAAA,2BAAkB,EAAC,IAAI,CAAC;QACxB,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;QAC5B,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC;IAE3B,IAAI,IAAA,2BAAkB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC7B,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC;YACjC,kBAAkB,EAAE,YAAY;YAChC,aAAa;SACd,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,QAAQ;QACR,IAAI,EAAE,gBAAgB;QACtB,YAAY;QACZ,eAAe,EAAE,OAAO,CACtB,cAAc,IAAI,YAAY,CAAC,kCAAyB,CAAC,CAC1D;KACF,CAAC;AACJ,CAAC;AAhED,4CAgEC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IOSTargetProps, TargetIdentity } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Resolve the names, identifiers and product metadata for a target.
|
|
4
|
+
*/
|
|
5
|
+
export declare function resolveIdentity({ props, mainBundleIdentifier, }: {
|
|
6
|
+
props: IOSTargetProps;
|
|
7
|
+
mainBundleIdentifier: string | undefined;
|
|
8
|
+
}): TargetIdentity;
|
|
9
|
+
//# sourceMappingURL=identity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/identity.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9D;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,oBAAoB,GACrB,EAAE;IACD,KAAK,EAAE,cAAc,CAAC;IACtB,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1C,GAAG,cAAc,CA+BjB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.resolveIdentity = void 0;
|
|
27
|
+
const domain_1 = require("../../domain");
|
|
28
|
+
const Paths = __importStar(require("../utils/paths"));
|
|
29
|
+
const DEFAULT_DEPLOYMENT_TARGET = '18.0';
|
|
30
|
+
/**
|
|
31
|
+
* Resolve the names, identifiers and product metadata for a target.
|
|
32
|
+
*/
|
|
33
|
+
function resolveIdentity({ props, mainBundleIdentifier, }) {
|
|
34
|
+
if (!mainBundleIdentifier) {
|
|
35
|
+
throw new Error('iOS bundle identifier not found in app.json');
|
|
36
|
+
}
|
|
37
|
+
const typeConfig = domain_1.TYPE_CHARACTERISTICS[props.type];
|
|
38
|
+
const targetName = props.displayName || props.name;
|
|
39
|
+
// Use type-specific suffix, falling back to sanitized target name if not in map
|
|
40
|
+
const bundleIdentifierSuffix = domain_1.TYPE_BUNDLE_IDENTIFIER_SUFFIXES[props.type] ||
|
|
41
|
+
Paths.sanitizeTargetName(props.name);
|
|
42
|
+
return {
|
|
43
|
+
type: props.type,
|
|
44
|
+
name: props.name,
|
|
45
|
+
displayName: props.displayName,
|
|
46
|
+
targetName,
|
|
47
|
+
targetProductName: Paths.sanitizeTargetName(targetName),
|
|
48
|
+
mainBundleIdentifier,
|
|
49
|
+
bundleIdentifier: props.bundleIdentifier ||
|
|
50
|
+
`${mainBundleIdentifier}.${bundleIdentifierSuffix}`,
|
|
51
|
+
deploymentTarget: props.deploymentTarget || DEFAULT_DEPLOYMENT_TARGET,
|
|
52
|
+
productType: (0, domain_1.productTypeForType)(props.type),
|
|
53
|
+
targetType: typeConfig.targetType,
|
|
54
|
+
frameworks: [
|
|
55
|
+
...((0, domain_1.getFrameworksForType)(props.type) || []),
|
|
56
|
+
...(props.frameworks || []),
|
|
57
|
+
],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.resolveIdentity = resolveIdentity;
|
|
61
|
+
//# sourceMappingURL=identity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../../src/ios/plan/identity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAKsB;AACtB,sDAAwC;AAGxC,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,oBAAoB,GAIrB;IACC,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IACjE,CAAC;IAED,MAAM,UAAU,GAAG,6BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,CAAC;IAEnD,gFAAgF;IAChF,MAAM,sBAAsB,GAC1B,wCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC;QAC3C,KAAK,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvC,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,UAAU;QACV,iBAAiB,EAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC;QACvD,oBAAoB;QACpB,gBAAgB,EACd,KAAK,CAAC,gBAAgB;YACtB,GAAG,oBAAoB,IAAI,sBAAsB,EAAE;QACrD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,IAAI,yBAAyB;QACrE,WAAW,EAAE,IAAA,2BAAkB,EAAC,KAAK,CAAC,IAAI,CAAC;QAC3C,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,UAAU,EAAE;YACV,GAAG,CAAC,IAAA,6BAAoB,EAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3C,GAAG,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC;SAC5B;KACF,CAAC;AACJ,CAAC;AArCD,0CAqCC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan layer: pure decisions.
|
|
3
|
+
*
|
|
4
|
+
* Planners take resolved props, the Expo config and an observed workspace, and
|
|
5
|
+
* return data describing what the apply layer should do. No file system access,
|
|
6
|
+
* no Xcode project access.
|
|
7
|
+
*/
|
|
8
|
+
export { planAssets } from './assets';
|
|
9
|
+
export { buildShareExtensionActivationRules, getTargetInfoPlistForType, } from './buildInfoPlist';
|
|
10
|
+
export { planBuildSettings } from './buildSettings';
|
|
11
|
+
export { planBundleReactNative } from './bundleReactNative';
|
|
12
|
+
export { composeXcodeTargetPlan } from './compose';
|
|
13
|
+
export { planEmbed } from './embed';
|
|
14
|
+
export { planEntitlements } from './entitlements';
|
|
15
|
+
export { resolveIdentity } from './identity';
|
|
16
|
+
export { planInfoPlist } from './infoPlist';
|
|
17
|
+
export { planPodfile } from './podfile';
|
|
18
|
+
export { planSafariResources } from './safari';
|
|
19
|
+
export { planSwiftSources } from './swiftSources';
|
|
20
|
+
export type { AssetPlan, BundleReactNativePlan, ColorsetPlan, EmbedPlan, EntitlementsPlan, InfoPlistPlan, IOSTargetProps, PodfilePlan, ProjectPaths, SafariResourcesPlan, StickerPackPlan, StickersPlan, SwiftFilePlan, SwiftTemplatePlan, TargetIdentity, TargetPlanInput, XcodeTargetPlan, } from './types';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,kCAAkC,EAClC,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EACV,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Plan layer: pure decisions.
|
|
4
|
+
*
|
|
5
|
+
* Planners take resolved props, the Expo config and an observed workspace, and
|
|
6
|
+
* return data describing what the apply layer should do. No file system access,
|
|
7
|
+
* no Xcode project access.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.planSwiftSources = exports.planSafariResources = exports.planPodfile = exports.planInfoPlist = exports.resolveIdentity = exports.planEntitlements = exports.planEmbed = exports.composeXcodeTargetPlan = exports.planBundleReactNative = exports.planBuildSettings = exports.getTargetInfoPlistForType = exports.buildShareExtensionActivationRules = exports.planAssets = void 0;
|
|
11
|
+
var assets_1 = require("./assets");
|
|
12
|
+
Object.defineProperty(exports, "planAssets", { enumerable: true, get: function () { return assets_1.planAssets; } });
|
|
13
|
+
var buildInfoPlist_1 = require("./buildInfoPlist");
|
|
14
|
+
Object.defineProperty(exports, "buildShareExtensionActivationRules", { enumerable: true, get: function () { return buildInfoPlist_1.buildShareExtensionActivationRules; } });
|
|
15
|
+
Object.defineProperty(exports, "getTargetInfoPlistForType", { enumerable: true, get: function () { return buildInfoPlist_1.getTargetInfoPlistForType; } });
|
|
16
|
+
var buildSettings_1 = require("./buildSettings");
|
|
17
|
+
Object.defineProperty(exports, "planBuildSettings", { enumerable: true, get: function () { return buildSettings_1.planBuildSettings; } });
|
|
18
|
+
var bundleReactNative_1 = require("./bundleReactNative");
|
|
19
|
+
Object.defineProperty(exports, "planBundleReactNative", { enumerable: true, get: function () { return bundleReactNative_1.planBundleReactNative; } });
|
|
20
|
+
var compose_1 = require("./compose");
|
|
21
|
+
Object.defineProperty(exports, "composeXcodeTargetPlan", { enumerable: true, get: function () { return compose_1.composeXcodeTargetPlan; } });
|
|
22
|
+
var embed_1 = require("./embed");
|
|
23
|
+
Object.defineProperty(exports, "planEmbed", { enumerable: true, get: function () { return embed_1.planEmbed; } });
|
|
24
|
+
var entitlements_1 = require("./entitlements");
|
|
25
|
+
Object.defineProperty(exports, "planEntitlements", { enumerable: true, get: function () { return entitlements_1.planEntitlements; } });
|
|
26
|
+
var identity_1 = require("./identity");
|
|
27
|
+
Object.defineProperty(exports, "resolveIdentity", { enumerable: true, get: function () { return identity_1.resolveIdentity; } });
|
|
28
|
+
var infoPlist_1 = require("./infoPlist");
|
|
29
|
+
Object.defineProperty(exports, "planInfoPlist", { enumerable: true, get: function () { return infoPlist_1.planInfoPlist; } });
|
|
30
|
+
var podfile_1 = require("./podfile");
|
|
31
|
+
Object.defineProperty(exports, "planPodfile", { enumerable: true, get: function () { return podfile_1.planPodfile; } });
|
|
32
|
+
var safari_1 = require("./safari");
|
|
33
|
+
Object.defineProperty(exports, "planSafariResources", { enumerable: true, get: function () { return safari_1.planSafariResources; } });
|
|
34
|
+
var swiftSources_1 = require("./swiftSources");
|
|
35
|
+
Object.defineProperty(exports, "planSwiftSources", { enumerable: true, get: function () { return swiftSources_1.planSwiftSources; } });
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ios/plan/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,mCAAsC;AAA7B,oGAAA,UAAU,OAAA;AACnB,mDAG0B;AAFxB,oIAAA,kCAAkC,OAAA;AAClC,2HAAA,yBAAyB,OAAA;AAE3B,iDAAoD;AAA3C,kHAAA,iBAAiB,OAAA;AAC1B,yDAA4D;AAAnD,0HAAA,qBAAqB,OAAA;AAC9B,qCAAmD;AAA1C,iHAAA,sBAAsB,OAAA;AAC/B,iCAAoC;AAA3B,kGAAA,SAAS,OAAA;AAClB,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA;AACzB,uCAA6C;AAApC,2GAAA,eAAe,OAAA;AACxB,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,qCAAwC;AAA/B,sGAAA,WAAW,OAAA;AACpB,mCAA+C;AAAtC,6GAAA,mBAAmB,OAAA;AAC5B,+CAAkD;AAAzC,gHAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { InfoPlistPlan, ProjectPaths, TargetPlanInput } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Plan the generated `Info.plist`: where it goes and what it contains.
|
|
4
|
+
*/
|
|
5
|
+
export declare function planInfoPlist({ props, expoConfig, paths, }: Pick<TargetPlanInput, 'props' | 'expoConfig'> & {
|
|
6
|
+
paths: ProjectPaths;
|
|
7
|
+
}): InfoPlistPlan;
|
|
8
|
+
//# sourceMappingURL=infoPlist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infoPlist.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/infoPlist.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EAEb,YAAY,EACZ,eAAe,EAChB,MAAM,SAAS,CAAC;AAwDjB;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,UAAU,EACV,KAAK,GACN,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,YAAY,CAAC,GAAG;IACjD,KAAK,EAAE,YAAY,CAAC;CACrB,GAAG,aAAa,CAqBhB"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.planInfoPlist = void 0;
|
|
30
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
31
|
+
const Paths = __importStar(require("../utils/paths"));
|
|
32
|
+
const buildInfoPlist_1 = require("./buildInfoPlist");
|
|
33
|
+
/**
|
|
34
|
+
* URL schemes the extension may need to open the host app.
|
|
35
|
+
* The bundle identifier is included because Expo registers it as a scheme and
|
|
36
|
+
* `openHostApp()` relies on it.
|
|
37
|
+
*/
|
|
38
|
+
function resolveMainAppSchemes(expoConfig) {
|
|
39
|
+
const schemes = [];
|
|
40
|
+
if (typeof expoConfig.scheme === 'string') {
|
|
41
|
+
schemes.push(expoConfig.scheme);
|
|
42
|
+
}
|
|
43
|
+
else if (Array.isArray(expoConfig.scheme)) {
|
|
44
|
+
schemes.push(...expoConfig.scheme);
|
|
45
|
+
}
|
|
46
|
+
if (expoConfig.ios?.bundleIdentifier) {
|
|
47
|
+
schemes.push(expoConfig.ios.bundleIdentifier);
|
|
48
|
+
}
|
|
49
|
+
return schemes;
|
|
50
|
+
}
|
|
51
|
+
function buildInfoPlistContents({ props, mainAppSchemes, targetsConfig, expoConfig, }) {
|
|
52
|
+
const hasActivationRules = Array.isArray(props.activationRules) && props.activationRules.length > 0;
|
|
53
|
+
const shareExtensionConfig = hasActivationRules || props.preprocessingFile
|
|
54
|
+
? {
|
|
55
|
+
activationRules: props.activationRules,
|
|
56
|
+
preprocessingFile: props.preprocessingFile,
|
|
57
|
+
}
|
|
58
|
+
: undefined;
|
|
59
|
+
return (0, buildInfoPlist_1.getTargetInfoPlistForType)(props.type, {
|
|
60
|
+
customProperties: props.infoPlist,
|
|
61
|
+
shareExtensionConfig,
|
|
62
|
+
entry: props.entry,
|
|
63
|
+
mainAppSchemes: mainAppSchemes.length > 0 ? mainAppSchemes : undefined,
|
|
64
|
+
targetsConfig,
|
|
65
|
+
targetIcon: props.targetIcon,
|
|
66
|
+
displayName: props.displayName,
|
|
67
|
+
companionAppBundleIdentifier: expoConfig.ios?.bundleIdentifier,
|
|
68
|
+
intentsConfig: props.intents,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Plan the generated `Info.plist`: where it goes and what it contains.
|
|
73
|
+
*/
|
|
74
|
+
function planInfoPlist({ props, expoConfig, paths, }) {
|
|
75
|
+
const infoPlistPath = Paths.getTargetInfoPlistPath({
|
|
76
|
+
platformProjectRoot: paths.platformProjectRoot,
|
|
77
|
+
projectName: paths.projectName,
|
|
78
|
+
productName: Paths.sanitizeTargetName(props.displayName || props.name),
|
|
79
|
+
});
|
|
80
|
+
const mainAppSchemes = resolveMainAppSchemes(expoConfig);
|
|
81
|
+
const targetsConfig = expoConfig.extra?.targets;
|
|
82
|
+
return {
|
|
83
|
+
path: infoPlistPath,
|
|
84
|
+
referencePath: node_path_1.default.relative(paths.platformProjectRoot, infoPlistPath),
|
|
85
|
+
contents: buildInfoPlistContents({
|
|
86
|
+
props,
|
|
87
|
+
mainAppSchemes,
|
|
88
|
+
targetsConfig,
|
|
89
|
+
expoConfig,
|
|
90
|
+
}),
|
|
91
|
+
mainAppSchemes,
|
|
92
|
+
embeddedTargetCount: targetsConfig?.length ?? 0,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.planInfoPlist = planInfoPlist;
|
|
96
|
+
//# sourceMappingURL=infoPlist.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infoPlist.js","sourceRoot":"","sources":["../../../src/ios/plan/infoPlist.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA6B;AAG7B,sDAAwC;AACxC,qDAA6D;AAQ7D;;;;GAIG;AACH,SAAS,qBAAqB,CAAC,UAA+B;IAC5D,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,IAAI,OAAO,UAAU,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC1C,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;SAAM,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5C,OAAO,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,IAAI,UAAU,CAAC,GAAG,EAAE,gBAAgB,EAAE,CAAC;QACrC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAChD,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,sBAAsB,CAAC,EAC9B,KAAK,EACL,cAAc,EACd,aAAa,EACb,UAAU,GAMX;IACC,MAAM,kBAAkB,GACtB,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;IAC3E,MAAM,oBAAoB,GACxB,kBAAkB,IAAI,KAAK,CAAC,iBAAiB;QAC3C,CAAC,CAAC;YACE,eAAe,EAAE,KAAK,CAAC,eAAe;YACtC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;SAC3C;QACH,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,IAAA,0CAAyB,EAAC,KAAK,CAAC,IAAI,EAAE;QAC3C,gBAAgB,EAAE,KAAK,CAAC,SAAS;QACjC,oBAAoB;QACpB,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,cAAc,EAAE,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;QACtE,aAAa;QACb,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,4BAA4B,EAAE,UAAU,CAAC,GAAG,EAAE,gBAAgB;QAC9D,aAAa,EAAE,KAAK,CAAC,OAAO;KAC7B,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,UAAU,EACV,KAAK,GAGN;IACC,MAAM,aAAa,GAAG,KAAK,CAAC,sBAAsB,CAAC;QACjD,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;QAC9C,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,WAAW,EAAE,KAAK,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,CAAC;KACvE,CAAC,CAAC;IACH,MAAM,cAAc,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;IACzD,MAAM,aAAa,GAAG,UAAU,CAAC,KAAK,EAAE,OAA4B,CAAC;IAErE,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,aAAa,EAAE,mBAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,mBAAmB,EAAE,aAAa,CAAC;QACtE,QAAQ,EAAE,sBAAsB,CAAC;YAC/B,KAAK;YACL,cAAc;YACd,aAAa;YACb,UAAU;SACX,CAAC;QACF,cAAc;QACd,mBAAmB,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;KAChD,CAAC;AACJ,CAAC;AA3BD,sCA2BC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ExtensionType } from '../../domain';
|
|
2
|
+
import type { PodfilePlan } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Plan the Podfile entry for one target.
|
|
5
|
+
*
|
|
6
|
+
* Standalone targets are inserted as siblings of the main app target so
|
|
7
|
+
* CocoaPods does not autolink Expo modules into them; React Native targets are
|
|
8
|
+
* nested inside the main target to inherit its search paths.
|
|
9
|
+
*/
|
|
10
|
+
export declare function planPodfile({ targetName, deploymentTarget, extensionType, standalone, excludedPackages, podsRbContent, }: {
|
|
11
|
+
targetName: string;
|
|
12
|
+
deploymentTarget: string;
|
|
13
|
+
extensionType: ExtensionType;
|
|
14
|
+
standalone: boolean;
|
|
15
|
+
excludedPackages?: string[];
|
|
16
|
+
podsRbContent?: string;
|
|
17
|
+
}): PodfilePlan;
|
|
18
|
+
//# sourceMappingURL=podfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"podfile.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/podfile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,aAAa,GACd,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,WAAW,CASd"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.planPodfile = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Plan the Podfile entry for one target.
|
|
6
|
+
*
|
|
7
|
+
* Standalone targets are inserted as siblings of the main app target so
|
|
8
|
+
* CocoaPods does not autolink Expo modules into them; React Native targets are
|
|
9
|
+
* nested inside the main target to inherit its search paths.
|
|
10
|
+
*/
|
|
11
|
+
function planPodfile({ targetName, deploymentTarget, extensionType, standalone, excludedPackages, podsRbContent, }) {
|
|
12
|
+
return {
|
|
13
|
+
targetName,
|
|
14
|
+
deploymentTarget,
|
|
15
|
+
extensionType,
|
|
16
|
+
standalone,
|
|
17
|
+
excludedPackages,
|
|
18
|
+
podsRbContent,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
exports.planPodfile = planPodfile;
|
|
22
|
+
//# sourceMappingURL=podfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"podfile.js","sourceRoot":"","sources":["../../../src/ios/plan/podfile.ts"],"names":[],"mappings":";;;AAGA;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,aAAa,GAQd;IACC,OAAO;QACL,UAAU;QACV,gBAAgB;QAChB,aAAa;QACb,UAAU;QACV,gBAAgB;QAChB,aAAa;KACd,CAAC;AACJ,CAAC;AAvBD,kCAuBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TargetWorkspace } from '../observe/workspace';
|
|
2
|
+
import type { IOSTargetProps, ProjectPaths, SafariResourcesPlan } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Safari web extensions ship a `Resources` folder (popup, manifest, background
|
|
5
|
+
* script). Users can provide their own; otherwise the plugin generates one.
|
|
6
|
+
* Planned for every safari target — Safari will not list an appex that lacks
|
|
7
|
+
* a bundled Resources/manifest.json.
|
|
8
|
+
*/
|
|
9
|
+
export declare function planSafariResources({ workspace, props, paths, }: {
|
|
10
|
+
workspace: TargetWorkspace;
|
|
11
|
+
props: IOSTargetProps;
|
|
12
|
+
paths: ProjectPaths;
|
|
13
|
+
}): SafariResourcesPlan | undefined;
|
|
14
|
+
//# sourceMappingURL=safari.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safari.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/safari.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,KAAK,EACL,KAAK,GACN,EAAE;IACD,SAAS,EAAE,eAAe,CAAC;IAC3B,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,YAAY,CAAC;CACrB,GAAG,mBAAmB,GAAG,SAAS,CAiBlC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.planSafariResources = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
8
|
+
/**
|
|
9
|
+
* Safari web extensions ship a `Resources` folder (popup, manifest, background
|
|
10
|
+
* script). Users can provide their own; otherwise the plugin generates one.
|
|
11
|
+
* Planned for every safari target — Safari will not list an appex that lacks
|
|
12
|
+
* a bundled Resources/manifest.json.
|
|
13
|
+
*/
|
|
14
|
+
function planSafariResources({ workspace, props, paths, }) {
|
|
15
|
+
// Resources (manifest/popup) are required for Safari to list the appex,
|
|
16
|
+
// whether or not a React Native Web entry exists.
|
|
17
|
+
if (props.type !== 'safari') {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const resourcesPath = node_path_1.default.join(workspace.targetBuildPath, 'Resources');
|
|
21
|
+
return {
|
|
22
|
+
resourcesPath,
|
|
23
|
+
referencePath: node_path_1.default.relative(paths.platformProjectRoot, resourcesPath),
|
|
24
|
+
useCustomResources: workspace.hasCustomSafariResources,
|
|
25
|
+
userResourcesPath: workspace.userSafariResourcesPath,
|
|
26
|
+
name: props.name,
|
|
27
|
+
displayName: props.displayName,
|
|
28
|
+
manifest: props.manifest,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.planSafariResources = planSafariResources;
|
|
32
|
+
//# sourceMappingURL=safari.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safari.js","sourceRoot":"","sources":["../../../src/ios/plan/safari.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAS7B;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,KAAK,EACL,KAAK,GAKN;IACC,wEAAwE;IACxE,kDAAkD;IAClD,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO;IACT,CAAC;IAED,MAAM,aAAa,GAAG,mBAAI,CAAC,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IACxE,OAAO;QACL,aAAa;QACb,aAAa,EAAE,mBAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,mBAAmB,EAAE,aAAa,CAAC;QACtE,kBAAkB,EAAE,SAAS,CAAC,wBAAwB;QACtD,iBAAiB,EAAE,SAAS,CAAC,uBAAuB;QACpD,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,QAAQ,EAAE,KAAK,CAAC,QAAQ;KACzB,CAAC;AACJ,CAAC;AAzBD,kDAyBC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TargetWorkspace } from '../observe/workspace';
|
|
2
|
+
import type { IOSTargetProps, SwiftFilePlan, TargetIdentity } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Plan the Swift sources for a target. Pure: reads only the observed workspace,
|
|
5
|
+
* never the file system.
|
|
6
|
+
*/
|
|
7
|
+
export declare function planSwiftSources({ workspace, props, identity, platformProjectRoot, }: {
|
|
8
|
+
workspace: TargetWorkspace;
|
|
9
|
+
props: IOSTargetProps;
|
|
10
|
+
identity: TargetIdentity;
|
|
11
|
+
platformProjectRoot: string;
|
|
12
|
+
}): SwiftFilePlan[];
|
|
13
|
+
//# sourceMappingURL=swiftSources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swiftSources.d.ts","sourceRoot":"","sources":["../../../src/ios/plan/swiftSources.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EAEb,cAAc,EACf,MAAM,SAAS,CAAC;AAsNjB;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,mBAAmB,GACpB,EAAE;IACD,SAAS,EAAE,eAAe,CAAC;IAC3B,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,EAAE,cAAc,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,GAAG,aAAa,EAAE,CAclB"}
|