IME.
I did used to plug in the device to the charger first, then switch on the charger, (or as you put it, plug it in), however on one occasion I did that, the charger I was using, did go Bang!
The device wasn't affected, but since then, correct or not, I've always switched on the charger, then plugged in the device.
YMMV.
This isn't a recommended procedure for charging high current / high energy devices.
Regards,
X.