Like Windows, there is no option provided by Android and iOS to safely eject an OTG adapter from your smartphone or tablet. It's not necessary at all. Removing it directly will cause no harm to your device.