简体   繁体   English

通过iOS的Google的Web服务API需要服务器吗?

[英]Google's Web Service API via iOS requires a server?

I've seen in a few tutorials that Google's Places Web Service API is prohibited from being used directly from a mobile device. 我在一些教程中看到,禁止直接在移动设备上使用Google的Places Web服务API。 Is this still true? 这仍然是真的吗?

I wouldn't call it easy, but after setting up a server key without any restricted IPs/Referrers, it seems to function just fine for me. 我不会觉得很简单,但是在设置了没有任何受限制的IP /引用服务器的服务器密钥之后,它似乎对我来说就很好了。 I have searched quite a bit for official documentation from Google that specifies this to be the case, but I have yet to find anything concrete. 我已经搜索了很多来自Google的官方文件,这些文件都指定了这种情况,但是我还没有找到任何具体的东西。 I could see it being a good idea for additional security, but is it a requirement? 我认为这是增加安全性的一个好主意,但这是一项要求吗?

The Places API Policies document has a section Mobile Applications, but doesn't mention any restriction regarding using web service directly from a mobile device. Places API政策文档的“移动应用程序”部分,但未提及有关直接从移动设备使用Web服务的任何限制。

https://developers.google.com/places/web-service/policies https://developers.google.com/places/web-service/policies

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM