草庐IT

google-mlkit

全部标签

ios - 4 月份 google/gtm-oauth2/GTMOAuth2ViewControllerTouch 将如何运作?

我正在使用gtm-oauth2(作为https://github.com/google/google-api-objectivec-client的一部分)并且我开始收到关于2017年4月不支持登录webviews的警告。我猜他们想让我搬到https://developers.google.com/identity/sign-in/ios/,但我找不到如何将登录sdk与https://github.com/google/google-api-objectivec-client-for-rest集成的示例或https://github.com/google/google-api-objec

ios - Google 登录 - 在应用程序浏览器与移动浏览器中

我的应用程序使用谷歌登录。我得到的错误是“错误:disallwed_useragent”,代码如下。请找到错误截图。GIDSignIn*signIn=[GIDSignInsharedInstance];signIn.delegate=self;signIn.uiDelegate=self;signIn.shouldFetchBasicProfile=YES;signIn.allowsSignInWithWebView=YES;signIn.allowsSignInWithBrowser=NO;signIn.scopes=[NSArrayarrayWithObjects:kGTLAuth

ios - 如何在 Objective-C(iOS) 的 `Google Maps` View 中添加标记

我正在尝试从我的网络服务中的数据向Googlemap添加标记。现在如何显示仅在“特定半径距离”中的标记。我正在尝试,但没有关于如何在Objective-C中实现它的逻辑。 最佳答案 它对我有用。请尝试一下。GMSCameraPosition*camera=[GMSCameraPositioncameraWithLatitude:(sourceValue.latValue+destinationValue.latValue)/2longitude:(sourceValue.lngValue+destinationValue.lngVa

ios - 如何在 iOS Swift 中使用 GOOGLE MAPS 获取源和目的地之间的公交车站列表

大家好,我正在使用Googlemap,我需要显示城市中源和目的地之间的公交车站列表。我尽力了,但我无法得到结果。请帮我解决这个问题。大家好,我正在使用下面的api,但没有获取源和目的地之间的公交车站列表"https://maps.googleapis.com/maps/api/directions/json?origin=Raidurgam巴士站,旧孟买公路,MadhuraNagarColony,Gachibowli,Hyderabad,Telangana500032&destination=Mehdipatnam巴士站,MehdipatnamRoad,SantoshNagar,Meh

ios - iOS 上的 Google OAuth 2 隐式流程,手动刷新 token

您好,我的GoogleOAuth2显式流程根据:https://developers.google.com/identity/protocols/OAuth2WebServer我还有在iOS上使用GIDSignIn的隐式流程,特别是我得到了GIDSignInDelegate::sign(_signIn:GIDSignIn!,didSignInForuser:GIDGoogleUser!,withErrorerror:Error!)回调并有权访问user.authentication.accessToken和user.authentication.refreshToken。我正在尝试将r

iOS - 重复符号 Google Core 和 Firebase 性能

我的pod有问题:pod'Firebase/Performance'pod'Firebase/AdMob'pod'Firebase/RemoteConfig'pod'Firebase/Crash'pod'Firebase/Database'pod'Firebase/Storage'pod'Firebase/Messaging'pod'Firebase/Auth'pod'Google/Core'pod'GoogleSignIn'pod'GoogleAPIClientForREST/Drive','~>1.2.1'当我尝试运行应用程序时出现此错误:clang:error:linkercom

ios - 如何从 Apple 新闻 rss 提要跟踪 Google Analytics 中的流量?

我正在尝试通过GoogleAnalytics跟踪来自AppleNews的流量,以RSS格式提交。网上搜索后发现onlyifit'ssubmittedinAppleNewformat.那RSSfeedisunreliabletotrackwithGA.还有其他方法吗? 最佳答案 您提供的第一个链接显示,browser维度被设置为那些访问者的AppleNews(我以前从未使用过AppleNews,但我猜它是应用内浏览器)。这给了你几个选择:使用Browser的次级维度在您的获取报告中对AppleNews进行高级搜索。在Browser与A

ios - 如何在 ios 应用程序中添加 google map direction API?

我为在我们的应用程序中使用Googlemap方向而编写的一些代码遇到了一些问题。运行我们的应用程序时出现此错误。Ihavegonethroughthislinkandgetthiserroronloadthemapview. 最佳答案 您必须将GoogleMaps.bundle添加到您的项目中。你可以在你下载的框架中找到它GoogleMaps.framework/Versions/A/Resources确保未选中“如果需要复制项目”。 关于ios-如何在ios应用程序中添加googlem

ios - 获取 google people profile API 不返回生日和性别键值

GPPSignIn*signIn;在我的iOS应用程序中,我将范围设置为:signIn.scopes=@[@"https://www.googleapis.com/auth/plus.login",@"https://www.googleapis.com/auth/plus.me",@"https://www.googleapis.com/auth/plus.profile.emails.read",@"email",@"profile",@"https://www.googleapis.com/auth/user.birthday.read"];此外,signIn.shouldFet

ios - Google Vision - OCR - 请求必须指定图像和特征

我正在尝试实现GoogleVisionOCR请求。这是我的代码,funcperformImageRecognition(image:UIImage){//1.ConvertImageintobase64encodingletimageData:Data=UIImageJPEGRepresentation(image,1.0)!letencodedString:String=imageData.base64EncodedString()//2.RequestBodyforVisionOCRletpostBody:[String:Any]=getPOSTBody(base64:encode