NativeScript / NativeScript/nativescript-cli
[Tracking] iOS App Extensions
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
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!
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
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.
Bewertung
- Tech-Stack
- ios, javascript
- Bereich
- cli, mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100