From 2953cc10ddd4f3c01971cbc551a1550ea1cb2d1d Mon Sep 17 00:00:00 2001 From: Dylan Llewellyn <46717769+herefishyfish@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:09:28 +0800 Subject: [PATCH 1/2] chore: improve clarity in native code description --- content/guide/adding-native-code.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/guide/adding-native-code.md b/content/guide/adding-native-code.md index 89fdb8c6..5ff91079 100644 --- a/content/guide/adding-native-code.md +++ b/content/guide/adding-native-code.md @@ -6,9 +6,10 @@ contributors: - NathanWalker - rigor789 - vallemar + - herefishyfish --- -If the native API you need is not exposed through [@nativescript/core](/core/#nativescript-core), [third party plugins](https://market.nativescript.org/) or [@nativescript/\* plugins](https://v8.docs.nativescript.org/plugins/index.html)), you can add it to your project and access it right away in TypeScript. +If you need additional native functionality beyond what's available through [@nativescript/core](/core/#nativescript-core), [third party plugins](https://market.nativescript.org/) or [@nativescript/\* plugins](https://v8.docs.nativescript.org/plugins/index.html), you can add your own native code files to your project and access them right away in TypeScript. Ever since [NativeScript 8.8](https://blog.nativescript.org/nativescript-8-8-announcement/#ns-native), you can use a single command to add platform language files and have them auto configured ready to use with: From e69b140e775c36248617ed1abc3217bda7de6ba9 Mon Sep 17 00:00:00 2001 From: Dylan Llewellyn <46717769+herefishyfish@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:32:29 +0800 Subject: [PATCH 2/2] chore: update native code documentation --- content/guide/adding-native-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/guide/adding-native-code.md b/content/guide/adding-native-code.md index 5ff91079..3b574e0c 100644 --- a/content/guide/adding-native-code.md +++ b/content/guide/adding-native-code.md @@ -9,7 +9,7 @@ contributors: - herefishyfish --- -If you need additional native functionality beyond what's available through [@nativescript/core](/core/#nativescript-core), [third party plugins](https://market.nativescript.org/) or [@nativescript/\* plugins](https://v8.docs.nativescript.org/plugins/index.html), you can add your own native code files to your project and access them right away in TypeScript. +NativeScript provides direct access to all native APIs as well as cross-platform capabilities through [@nativescript/core](/core/#nativescript-core), [third party plugins](https://market.nativescript.org/) or [@nativescript/\* plugins](https://docs.nativescript.org/plugins). Additionally, you can easily add custom native files directly to your project and use them immediately from TypeScript. Ever since [NativeScript 8.8](https://blog.nativescript.org/nativescript-8-8-announcement/#ns-native), you can use a single command to add platform language files and have them auto configured ready to use with: