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

Player and recorder modules

Let's create the shell of our two main feature modules. Take note that we also add NativeScriptModule to the imports of both of the following modules:

  1. PlayerModule: It will provide player-specific services and components that will be usable whether the user is authenticated or not. 

Let's create app/modules/player/player.module.ts:

// nativescriptimport { NativeScriptModule } from 'nativescript-angular/nativescript.module'; // angularimport { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';@NgModule({  imports: [ NativeScriptModule ]  schemas: [ NO_ERRORS_SCHEMA ]})export class PlayerModule { }
  1. RecorderModule: This will provide recording-specific services and components that will only be loaded if the user is ...

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