The adhesive anti-fibrotic hydrogel protects such devices by preventing the immune system from recognizing and subsequently attacking it and avoiding fibrosis.