NativeScript Angular: Setup environment.ts for Different Environments

Derek Fong
2 min readDec 29, 2018
Image Source: mobidev.biz

TL;DR Utilizing Angular’s environment.*.ts for Web, Android, and iOS applications by leveraging Angular CLI and NativeScript Schematics in just a few easy steps.

Code-sharing between Angular web and NativeScript mobile apps is now possible thanks to the NativeScript Schematics project. However, at the time of writing, managing environment…

--

--

Derek Fong

React • Angular • GraphQL • TensorFlow • .NET