How to Unpack sources from apk - T-REX-XP/cooper_hunter-hvac-mqtt-bridge GitHub Wiki

  1. Download apk file (https://www.apkmirror.com/ or https://play.google.com/store/apps/details?id=net.conditioner.web&rdid=net.conditioner.web)
  2. Unpack it using zip archiver
  3. Navigate to Home Easy_1.2.7.apk/assets/www/static, as you can see this folder contains app.js and vendor.js files
  4. install sourcemap-rewind (https://www.npmjs.com/package/sourcemap-rewind): sudo npm install sourcemap-rewind -g
  5. Unpack sources using following command: sourcemap-rewind -i ./app.0387d8b1f847aff7035f.js -o ./temp