Join Sahil Malik for an in-depth discussion in this video Hardware setup, part of Developing Cordova Apps with Visual Studio Code and Typescript.
- [Instructor] Let's start our journey of learning Cordova with TypeScript with a little overview of the hardware and software setup you will need to follow along through this course. Let's first talk about the hardware setup you will need. You can follow along this course with a Mac. The advantage of using a Mac is that you can target both iOS and Android devices from one single machine, or you could use Windows and Linux. The unfortunate thing about using Windows or Linux is that you can only target Android devices and not iOS devices from Windows and Linux.
But don't be disheartened. Most of the code between these two platforms is going to be common anyway. So you could get started with this course even if you have just a Windows machine. In this course, I will demonstrate the steps using both Mac and Windows. There are some minor differences between the two and I'll illustrate them as I go along. So you can follow along this course on either platform. Just know that if you intend to target iOS, you will need a Mac. So you might be wondering that if you're going to target mobile devices, do you need a physical iPhone and Android device? No you don't.
We'll use simulators, and for the purposes of this course, simulators are enough. However, in the real world, you will need a device. There are a lot of things that simulators don't let us do. For instance, geolocation, et cetera, is hard to do on simulators. Media is difficult to do on simulators. If you intend to do this on a day in day out basis, you probably want a few physical devices.
- Setting up your environment
- Adding the browser platform
- Adding and debugging the Android and iOS platforms
- Interacting with Native using plugins
- Why use plugins?
- Using TypeScript with Cordova
- Converting your code to TypeScript