From 63d81c18889dbeab7fd2980f79fe21821d73f1a7 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sat, 15 Feb 2025 15:13:21 -0800 Subject: [PATCH] feat(config): ability to include native source code from any path Supports glob patterns as well as including locations outside of project directory. --- packages/core/config/config.interface.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/core/config/config.interface.ts b/packages/core/config/config.interface.ts index f307698c27..3b4b4b9401 100644 --- a/packages/core/config/config.interface.ts +++ b/packages/core/config/config.interface.ts @@ -39,6 +39,20 @@ interface IConfigIOS extends IConfigPlatform { * List packages to be included in the iOS build. */ SPMPackages?: Array; + /** + * Include native source code from anywhere + */ + NativeSource?: Array<{ + /** + * The folder name which will group these referenced files together in Xcode + */ + name: string; + /** + * The path to the native source code. + * You can also use glob patterns, including directories outside of the project root. + */ + path: string; + }>; } interface IConfigVisionOS extends IConfigIOS {}