$a.platform

πŸ“˜ The Platform service can be used to get information about your current device.

See details here: https://ionicframework.com/docs/angular/platform