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:

Get NativeScript for Angular Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.