How to pass .env variables via wireless debugging (adb)?

UPD:
managed to resolved thanks to Ionic 7 + Vue/Vite + Capacitor 5 set .env file for ionic capacitor run - #4 by aaronksaunders

so

  1. I have to build using vite build with the mode ionic build -- --mode dev && npx cap sync
  2. To run on android device with the --no-build flag. ionic capacitor run android --no-build (You have to do previous steps - Enabled Developer mode on Android device, connect and pair via adb)