I’m working with iPhone 7 plus and iOS 11, and I’ve just updated to WKWebview, and now I’m having issues with my Google Maps ionic native plugin. This is the error I’m getting when testing on my device:
ClientParametersRequest failed, 7 attempts remaining (0 vs 10). Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<3c44d ...........>}
I’m not 100% sure, but I think it’s some issue with CORS, which is now required with WKWebview.
I’ve read in a few places that you can bypass it via a Proxy, by adding the following in your ionic.config.json files:
"proxies": [
{
"path": "http://localhost:8080",
"proxyUrl": "https://maps.googleapis.com"
}
],
But it’s not working, and I’m not sure if I got the path and proxyURL correct.
Any advice on this will be greatly appreciated!