Preheat oven to 350 degrees. Generously grease a 9” springform pan** and dust pan with flour, shaking out excess. You can also line the pan with parchment paper if you like.
In a medium bowl, combine flour, baking powder, and sea salt. Stir in shredded coconut and set aside.
Using an electric mixer beat butter and maple syrup in a large bowl until combined. It will be lumpy. Add eggs, one a time, beating well after each addition. Beat in vanilla.
Add flour mixture to butter mixture in 3 additions alternating with coconut milk in 2 additions, beating just until blended after each addition. Fold in half of the chocolate.
Spread batter evenly in prepared cake pan. Sprinkle remaining chocolate pieces over batter, and then sprinkle with flaked coconut.
Bake cake until golden and tester inserted comes out clean, tenting with sheet of foil if coconut atop cake is browning too quickly, 45-50 minutes.
Transfer cake to rack and cool 45 minutes before removing from pan.