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

App ID

The App ID configured in the Apple developer portal moments ago is a unique identifier for your app that uses something called reverse domain name notation. Our NativeScript app's metadata must match. Our App ID for this app is io.nstudio.nStudio. The NativeScript CLI has a convention for setting the App ID during app creation:

 tns create YourApp --appid com.mycompany.myappname

We did not use this option when we created our app; however, it's easy enough to change our App ID.

Open the app's root package.json file and find the nativescript key. Ensure that the id attribute contains the value you'd like to use:

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