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