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.
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.
Swift 3. If I use google Maps in my project (google sdk) and whenever user will open View Controller with this maps will the user need to download google maps or it will work straight away even if user haven't got installed google maps?
Thank you
If you use Google Maps in your application through the SDK, there is no requirement for the user. They don't need to have the Google Maps app on their phone.
So yes, it will work straight away.
The only things you need to make sure is to make sure you configure the SDK as described in Google's SDK Start Guide and that you have an API key requested from Google and configured it in your app.
Size impact
It is hard to say how the Google SDK impacts the size of your app, because Apple does a lot of optimization (e.g. If you allow App Thinning it might be a lot smaller). I think for my apps it makes about a 3-10 MB difference.
iTunes Connect allows you to inspect the estimated size of the app. The screenshot is from an app I worked on that uses 13 different pods, including Google Maps.
In order to see this go to iTunes Connect > [Your App] > Activity > All Builds > [Select a Build] > App Store File Sizes
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
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
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.