How do you prevent mangoes from being eaten by predators?

Put nets or plastic sheets over the trees during the day