The problem with these fruits is the seeds or pits which can cause inflammation of the small intestine and intestinal obstruction in dogs. In addition, the seeds may be poisonous to both humans and dogs.
I would just keep them away from dogs, to be careful of any issues.