Yeah, the white edges are a pretty common issue that happens when someone uses an icon template in Figma or Sketch, then exports the icon with the clipping mask enabled.
Gkd needs to remove the rounded corners from the icon graphic. The OS will round the corners for him.
Ditto for Android. Use the clipping mask in the design file to preview what the icon will look like, but when you export the graphic, just save out a square with regular old 90° corners.