[Tracking] iOS App Extensions
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- ios, javascript
Rechercherichtung
Beginne mit dem Lesen der Abschnitte „Overview“ und „Known issues“ dieses Tracking-Issues. Es nennt keine Implementierungsdateien, Tests oder einzelne abgegrenzte Änderung; nutze das aufgeführte Verhalten der Extension und die ungelösten Einschränkungen bei Signierung, Framework und mehreren Extensions, um ein konkretes Folge-Issue zu definieren. Erledigt wäre dies erst mit einer separat abgegrenzten Verbesserung und einer expliziten Validierung.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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!
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NativeScript/nativescript-cli
-
in-progress
NativeScript/nativescript-cli#6140 · 2 Kommentare · 1 zugewiesene Person ·
-
NativeScript/nativescript-cli#6090 · 1 zugewiesene Person ·
-
in progress
NativeScript/nativescript-cli#6015 · 1 Reaktion · 1 zugewiesene Person ·
-
question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
NativeScript/nativescript-cli#5992 · 5 Kommentare ·
-
feature-pending-triage
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
NativeScript/nativescript-cli#5975 ·