Post

Replies

Boosts

Views

Activity

Mapkit JS: What are the recommended CSP settings?
I'm running Mapkit JS within a Cordova app. It loads the map, but tiles load intermittently and I get a lot of CSP errors in the console. Can anyone please recommend to me, what are the best CSP settings for using Mapkit JS? Currently I have image-src, connect-src and style-src pointing to https://*.apple-mapkit.com, as well as default-src. The main CSP errors I'm getting are for https://gsp10-ssl.ls.apple.com ...Is this a site I should add? Or is it dynamically generated and can change often? Thanks!
2
0
1k
Jan ’21