Advanced Concepts
Adding custom native code to a project
NativeScript allows you to access any native API anytime in your app.
If the native API you need is not exposed through @nativescript/core, third party plugins or @nativescript/* plugins), you can add it to your project and access it right away in TypeScript.
- Add native code to App_Resources:
- Optionally generate TypeScript types for the added APIs
Additionally, NativeScript also supports Jetpack Compose and SwiftUI through plugins.
- Previous
- Previewing visionOS from StackBlitz