I just bought a couple of “USB condoms" from Amazon, that is hardware devices that are supposed to completely block and disable all comms over your lightning cable and only permit charging, done for security purposes because of recent reports of attacks where malicious charger devices have attempted to attack vulnerabilities in the USB software subsystem in your device and push malware into it.
The units that I bought were a total flop. Didn't charge, ios immediately started whinging with the usual error messages about incompatible or unsupported (I forget the wording) chargers not costing a million pounds and not made by Apple. Sending them back.
Does anyone know of such a product that works properly on iOS devices?