I am currently building an app that uses Google maps. Every so often, the app freezes in the main thread on this function, __semwait_signal(), as the superview the google map is in is about to close or navigate away.
Apparently it is an issue that spans multiple programmers.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=6484
I am running the Google Map framework 1.7.2 and testing on an Iphone 4 with iOS 7.1
Can anyone find a work-around for this, or is it something that can only be resolved with the next update on the framework?
Updating the google map framework is all that it takes to fix this issue.
Check your Framework Search Paths to make sure that the only path to the a Google Maps Framework is the most recent version. I had multiple paths there, which caused other crashing issues as well. https://code.google.com/p/gmaps-api-issues/issues/detail?id=6672
Related
I’m using GoogleMaps pod in my iOS application and it was working fine, but in my last build, apple reject my application. And the reason behind that is, the map was unable to load at the time of review on iPad running iOS 12.2 on Wi-Fi.
I did try to reproduce that bug on my device but I couldn’t.
Application do ask for location permission
Google Place API key also seems ok.
Is there any way to identify what the actual issue is and how I am supposed to solve this one?
Finally, I've solved that issue and for that, I've done some of the changes in my project.
1 - I've patched the latest Google Plist file in the project (I wasn't sure whether the old one was latest or not)
2 - I was using multi language in my project so before setting the delegate of google map, I've set the language for my project.
3 - instead of set the google map from Storyboard, I've set the google map programmatically in my view controller after setting language.
After surfing for so long to solve this issue, I came to know that this issue occurs when your App supports multi language. These some steps did work for me.
My app has some code for opening directly to Google Maps. We're attempting to open directly to Street View for a particular coordinate using a URL like so:
comgooglemaps-x-callback://?center=47.613371,-122.313167&mapmode=streetview&x-success=myurlscheme://noop&x-source=MyApp
I'm seeing an infinite spinner with the Street View never loading.
This URL scheme is documented and has worked for several years, until a recent update.
https://developers.google.com/maps/documentation/ios-sdk/urlscheme
Is this feature of the app busted or did the URL scheme change?
This has been fixed in the latest release of google maps iOS app. Please check it.
Reference : https://github.com/googlemaps/OpenInGoogleMaps-iOS/issues/6
This is a bug ( or documentation needs updating) as I was able to verify this working with the previous Google Maps iOS build of 4.14(the last update). Also verified with other iOS apps that use StreetView.
submitted issue but this has not been acknowledged as a bug yet.
https://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=streetview&colspec=ID+Type+Status+Introduced+Fixed+Summary+Internal+Stars&cells=tiles
It looks like it's been accepted as a bug according to Google. I've heard that it will be fixed with next update, but that is not official.
http://code.google.com/p/gmaps-api-issues/issues/detail?id=9095&q=apitype%3AIosSDK%20type%3ADefect&sort=-stars&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars
Google has a new app, I believe we are supposed to use this instead but I've not tried it yet!! I still have not seen updated documentation on website that confirms this.
https://itunes.apple.com/us/app/google-street-view/id904418768?mt=8
https://github.com/googlemaps/OpenInGoogleMaps-iOS/issues/6
Am using Google maps SDK in my app and I had to support 5.0 also but Google maps does n't support 5.0. How to implement my app for 5.0
Is there any link to download Google Maps SDK 1.4.x?
Thanks in advance,
There's a "Releases" webpage for the GoogleMaps SDK which list what's changed from version to version.
They do allow downloading releases from one or two versions back, but there's no actual link there for 1.4.X.
However, when I tried manually typing in a link of "https://dl.google.com/geosdk/GoogleMaps-iOS-1.4.3.zip", it successfully downloaded. Grab it now, because it is likely to be gone within the next month or two.
I am now testing some Maps service provider.
First I have a tableview which contains two provider:"Map Kit","Google Maps SDK".
And when I go into the map kit sample,then get out, and then go into the google maps sample, everything works fine.
But, when I go into the google maps sample first, then get out, and then go into the map kit sample, it crash.
When debug, I find out it crash when [[MKMapView alloc] init]
Why this happens?
Although in real App, we won't have two map service provider, I still want to know the reason.
Thanks.
There are a couple of existing questions which cover this:
Google Maps SDK & Mapkit in the same app cause crash
Switch Google Maps SDK & Mapkit in the same app cause crash
However, this was related to this bug which Google fixed in version 1.1.2 (released 26th March) - so make sure you have the latest version of the SDK.
Otherwise, as explained in the other questions, you might need to clear or save/restore the OpenGL context before calling MapKit.
I am integrating Google analytics in an iOS App. I have a made a separate sample project and its working fine.
But when I am implementing the same in my App its not working.
Are there any frameworks that will restrict the App for not running Google Analytics?
First there are NO FRAMEWORKS that will restrict the app from running Google Analytics. But if you dont add certain frameworks you wont be able to compile the code.
Take a look at these links as these might be helpfull
https://developers.google.com/analytics/devguides/collection/ios/
https://developers.google.com/analytics/devguides/collection/ios/resources
mainly this one which is below
https://developers.google.com/analytics/devguides/collection/ios/v2/
Apart from this if you are working on Google Analytics for the first time. Let me tell you that you will only find your data on the Google Analytics Dashboard after some time. It may also take a day if its the first time.So be patient if have been able to compile the code and run the app. After the first time its quick. i.e. the data shows up much faster.
Finally, I have been able to do Google Analytics (GA) working as expected.
The problem was not due to any framework incompatibility, neither project build settings, nor plist option. I recreated the same configuration into another project to be sure.
From my point of view, the first problem I had was to try using the GA SDK v3 within an Xcode v4.6.3 while Xcode v5 is expected.
Then Downgrading the GA SDK version to 2 beta4 has not directly solved the problem because perhaps GA SDK's persistent data was kept in my app (by user default or core data).
#BhargaviShamukh, if you still have this issue, the way to solve it should be to clean the project (menu Product > Clean) and to uninstall the app from both simulator and device to be sure any GA SDK's data is deleted.
At least for me, this process has solved the problem.