NativeScript / NativeScript/nativescript-cli

[Tracking] iOS App Extensions

オープン
#4,472 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

os: ios
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
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 Automatic code signing. Any provision configuration inside App_Resources/iOS/build.xcconfig will 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!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、この tracking issue の「Overview」セクションと「Known issues」セクションを読んでください。実装ファイル、テスト、または単一のスコープ付き変更は指定されていません。記載されている拡張機能の動作と、署名、framework、複数の拡張機能に関する未解決の制限を使って、具体的なフォローアップ issue を定義してください。完了とするには、別途スコープを定めた改善と明示的な検証が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ios, javascript
領域
cli, mobile
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。