Skip to content

[Tracking] iOS App Extensions #4472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
KristianDD opened this issue Mar 25, 2019 · 5 comments
Open
3 tasks

[Tracking] iOS App Extensions #4472

KristianDD opened this issue Mar 25, 2019 · 5 comments
Labels

Comments

@KristianDD
Copy link
Contributor

KristianDD commented Mar 25, 2019

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!

@NickIliev
Copy link
Contributor

@NickIliev NickIliev removed the docs label Apr 1, 2019
@fpaaske
Copy link

fpaaske commented Apr 1, 2020

Any progress on this feature? I'd love to be able to configure build settings for the extension as well :)

@fpaaske
Copy link

fpaaske commented Apr 20, 2020

@NickIliev, do you have some info about status and plans to complete this feature?

@fpaaske
Copy link

fpaaske commented May 27, 2020

@KristianDD @rosen-vladimirov Is there any progress on this task? It would be very useful to be able to have a build.xcconfig under App_Resources/iOS/extensions/myext/build.xcconfig. For example to set up manual signing, and other parameters that are local to the extension.

@fpaaske
Copy link

fpaaske commented Jun 8, 2021

It's been a year now, so I thought I'd pop by and ask if there's been any progress on this. Trying not to be too naggy 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants