You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a locally stored native library to the current project. <% if(isHtml) { %>Copies the library files to the `lib/<platform>` folder in your project and configures the platform-specific projects in `platforms/<platform>` to work with the library. Build operations might perform additional configuration changes on the platform-specific project in `platforms/<platform>`.<% } %>
9
9
10
+
IMPORTANT: The `tns library add` command is deprecated and will be removed in a future release. Use the plugin set of commands instead. For more information, run `tns help plugin`.
11
+
10
12
IMPORTANT: When adding frameworks, keep in mind the following behaviors.
11
13
12
14
* Any functionality exposed by the library will become available in the built application package.
13
15
* The first build operation after you run this command is significantly slower.
14
-
<% if(isMacOS) { %>* When you add an iOS framework, the NativeScript CLI automatically changes your build target to iOS 8.0.<% } %>
16
+
<% if(isMacOS) { %>* When you add an iOS framework, the NativeScript CLI automatically changes your build target to iOS 8.0.<% } %>
15
17
16
18
### Attributes
17
19
18
20
*`<Platform>` is the target mobile platform for which you want to add a native library. You can set the following target platforms.
Copy file name to clipboardExpand all lines: lib/commands/add-library.ts
+1
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ export class AddLibraryCommand implements ICommand {
13
13
14
14
execute(args: string[]): IFuture<void>{
15
15
return(()=>{
16
+
this.$logger.warn("IMPORTANT: The `tns library add` command is deprecated and will be removed in a future release. Use the plugin set of commands instead. For more information, run `tns help plugin`.");
0 commit comments