O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating a custom-built iOS framework into NativeScript

We can now create an internal plugin to integrate this iOS framework into our app. Take the custom AudioKit.framework we have built and create a nativescript-audiokit directory at the root of our app. We then add a platforms/ios folder inside to drop the framework into. This will let NativeScript know how to build these iOS-specific files into the app. As we want this internal plugin to be treated like any standard npm plugin, we will also add package.json directly inside the nativescript-audiokit folder with the following contents:

{  "name": "nativescript-audiokit",  "version": "1.0.0",  "nativescript": {    "platforms": {      "ios": "3.0.0"    }  }}

We will now use the following command to add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required