I have included google map sdk 1.7 in my project that runs on ios5.1 too. After integrating google sdk app is crashing on ios5.1. I know that google map sdk version >=1.5 supports ios6 and above.
Is there a way to conditionally include the google map sdk. i.e. the sdk will only load if app is running ios6 or above. else I would like to take the user to the browser.
I am getting the following error on ios5
yld: Symbol not found: _OBJC_CLASS_$_UIActivityViewController
Referenced from: /Users/mac/Library/Application Support/iPhone Simulator/5.1/Applications/EC6760CC-D272-4949-A5BA-6AFB8B0C1A8F/HM.app/HM
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDK s/iPhoneSimulator5.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
You can change xcode project settings.
Read More:
You can set the google framework in project settings as optional.
Then check for ios5 while #import or #include the google sdk.
Don't import for ios 5 It will only for iOS6 and greater.
Related
My app was rejected by Apple this week because of the following non-public APIs
nextStartIndex
canGoOffline
I did find the nextStartIndex in Google Client API, and I renamed it to _nextStartIndex.
But I can not find canGoOffline anywhere. The reviewer of Apple indicated that it was used by [GMSServices checkReadyForOffline] which is provided by Google Maps SDK for iOS. What can I do now? I can not fix this issue as I did on nextStartIndex since there is no way to get source code of it.
I think there are lots of Apps integrated Google Maps SDK, they should encounter the same problem. But after searching for a while online, I did not find any information helpful.
This problem occurred after I upgraded Google Maps SDK for iOS to version 2.0.1. Reverse the SDK to a previous version is a possible solution. But is there any other better way?
Any suggestion will be appreciated
Anderson
This is a false positive and Google are working on a new version of the SDK.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=10393
In the mean time if using Obj-C put this in your App Delegate.
-(BOOL)canGoOffline{return false;}
Or Swift...
func canGoOffline() -> Bool {
return false
}
I am planning to integrate google map feature for my Hybrid Mobile Application.
This is targeted for Android,iOS and Windows.
https://github.com/mapsplugin/cordova-plugin-googlemaps
Above cordova plugin only works for iOS and Android, what about windows phone ? Do I need to use deparate Javascript Web API's of google maps to integrate with Windows phone ?
Since I didn't build this yet before, what can I provide you is some tutorials and different threads.
Like the answer in this thread, what you want to achieve is technically possible, but it is not legal. So basically you need a 3rd party app for these to work.
You can use Bing Map Control to use Google Maps in Windows. This tutorial explains everything with sample code and screenshot for you to follow.
For more information check this link:
Windows Phone Doesn't Support Google Maps Because Google Doesn't Want It To
Getting Start With Google Map in Windows Phone 7
I am using Xamarin and have tried many Google Map examples. The map is not displaying on any of the emulators.
My question is this: Can a Google Map be displayed on an emulator, or can it only be displayed on a real device?
You cannot use Google Maps in an emulator because it works only in a real device, you have the option to debug directly in a mobile or tablet to show it, or paste your apk and install it later in order to test it.
I guess this is your answer.
Bye
When it comes to Maps v2, you are better off using a device than the emulator.
That said, you can use the emulator. Google Maps is only supported on emulators that are running an AVD that is running the most recent Google API. See comment 29 in bug 57880.
I am using Wikitude SDK for augmented reality. It works ok.
Google Maps SDK for iOS work fine.
Problem is when I turn on Wikitude SDK and then I try using Google Maps SKD.
On Console I receive information:
"Did not clear context upon block exist"
On second try Google Maps doesn't render a map.
What should I do to fix this problem. Mapkit doesn't have this problem but my boss wants to use Google Maps SDK. I don't want to write a app with single ViewController.
I searched Google for phrase "Did not clear context upon block exist" but I didn't find anything.
Edit:
I am using iOS 7 SDK with Xcode 5. Wikitude draw point on camera. On Google Maps SDK I just insert markers on map. Nothing special. Everything works fine just one thing trigger something another as programmer I know I am in deep trouble. I don't know what is happening inside this SDKs.
I am also using container views to separate map and my view with buttons .
Google Maps iOS API version 6.1 resolved that bug.
I should thank Google developers for fix and Wikitude developers for help on forum.
Wikitude forum
My application is developed with maps and some other listviews.
When i removed
<uses-library android:name="com.google.android.maps" />
from manifest file the app is working fine, but when i add this in manifest, i am getting
Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
error, how to resolve this to work the app in galaxy tablet emulator
You should use an Android Build with Google APIs. Right click your project > Properties > Android, select an item that has "Google APIs" in the target name. Be sure to select the version you need.
Google Maps require the Android Library that contains Google APIs. So if your using Android SDK 2.3... then you should choose "Google APIs 2.3".
If you can't find one then you should download it using your Android SDK Manager.
Select whichever version you need:
you should check your AVD is its simple or Google API
because Google MAP works only in Google API.