capacitor app development code example Example: ionic capacitor platform web if (Capacitor.platform !== 'web') { // TODO }