Platform Detection: Ionic or Capacitor?

It seems like Ionic’s Platform service has some capability to inform the application the details of which platform it’s running on (e.g. android, ios, or desktop). Capacitor has similar functionality by way of its getPlatform method. Is there some reason I should use one or the other in my Ionic + Capacitor project?

Use whatever you prefer, not everybody uses Ionic, so Capacitor offers some helpers too, but if you use Ionic you can also use Capacitor helpers.