google-ar / arcore-ios-sdk

ARCore SDK for iOS
https://developers.google.com/ar/
Apache License 2.0
280 stars 81 forks source link

Localization not possible #86

Open rohanbhatia56 opened 1 year ago

rohanbhatia56 commented 1 year ago

Hi, I am trying to use the geospatial example for ARCore iOS SDK, I have added an unrestricted API key. The key works fine with ARCore android geospatial example but for iOS I get an error saying "Bad EarthState: ERROR_INTERNAL and Localization not possible. Please let me know how can I fix this. I have attached the screenshot as well below.

WhatsApp Image 2023-07-05 at 17 34 24

15kingben commented 1 year ago

It is hard to diagnose without the console logs. Ensure the device has access to Location Services as well as the internet. Localization relies on Streetview coverage, so you will need to go outside to localize correctly.

YogeshBhattGWL commented 1 year ago

Hi @rohanbhatia56 @15kingben

I just want to know if this is available in Swift as well... Bcz I can see Demo is in Obj-C