NativeScript / NativeScript/nativescript-cli
[Tracking] iOS App Extensions
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Overview
iOS App Extensions feature enables adding extension via NativeScript plugins or with adding extensions folder inside App_Resources/iOS/.
The extension should be created and developed inside Xcode. Once the user is happy with the result, the folder containing the extension should be copied inside App_Resources/iOS/extensions. The an extension.json should be added. This file describes the SDK frameworks used in the extension and the assetcatalogCompilerAppiconName. For example:
{
"frameworks": ["NotificationCenter.framework"],
"assetcatalogCompilerAppiconName": "AppIconExtension"
}
In the example above you should have an .xcassets catalog with AppIconExtension.appiconset inside the extension folder.
Each folder inside App_Resources/iOS/extensions is considered a separate extension and the folder name is considered the extension name.
Known issues
- The extensions inside NativeScript application support only
Automaticcode signing. Any provision configuration insideApp_Resources/iOS/build.xcconfigwill be ignored. And the application build will most probably fail. - Currently including multiple extensions using the same SDK framework is not supported.
- Local frameworks (not SDK ones) will not be included in the build of the extension
Discussion
Please, don't report problems here. Instead, open a new issue and link it to this one.
Let's use this discussion for suggestions and improvement ideas. We would love to hear from you!
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀此 tracking issue 的「Overview」和「Known issues」部分。它沒有指定實作檔案、測試或單一且範圍明確的變更;請利用其中列出的擴充功能行為,以及簽署、framework 和多重擴充功能方面尚未解決的限制,來定義一個具體的後續 issue。完成的條件是有一項單獨界定範圍的改進,並進行明確的驗證。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- ios, javascript
- 領域
- cli, mobile
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100