Estimote / iOS-Indoor-SDK

Estimote Indoor SDK for iOS
MIT License
484 stars 136 forks source link

Don't we need to 'NSLocationAlwaysUsageDescription' in Example project #11

Closed manjunathgudisi closed 9 years ago

manjunathgudisi commented 9 years ago

Hi,

Don't we need to add 'NSLocationAlwaysUsageDescription' (or at least 'NSLocationWhenInUseUsageDescription') to info.plist to get the location permissions to monitor and range the beacons on iOS8.

Have a look at the attached images. I have downloaded this project and tried to test the 'Indoor Navigation' app. In Settings, I don't have any location access.

When I wants to configure my beacons, its giving an error 'No beacons were detected'. Its valid because we are trying to monitor the beacons without location access. It should not work as expected.

Let me know am I correct or not.


I have added 'NSLocationAlwaysUsageDescription' tag to info.plist to try and test the app. No where its asking for location access. ideally, iOS8 will show an alert for location access to allow the user to get the access. Since its not showing alert even after I add 'NSLocationAlwaysUsageDescription' tag. So, Still the settings are same.

Seems, something is missing in the code.

Can you please check this issue. Thank you.

img_0079 img_0080 img_0081

heypiotr commented 9 years ago

Hi, thanks for taking your time to write this up (:

At this point, Indoor Location doesn't rely on Location Services, monitoring and ranging.

The reason why your beacons are not detected is probably a different one. If you log in to cloud.estimote.com with the same account you're using to log in to the example app, can you see your beacons there?

I'll close this issue as there's no apparent bug, but feel free to reply in here for individual troubleshooting.