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