Ios 8.* enable user location (geolocalization)

hello,
This is a solution to enable user location if you build with xcode 6.1 (ios >= 8)

  • edit your Info-plist file (platforms / ios / {PROJECT} / {Project}-Info.plist),

  • add this following lignes, and save

  • ionic run ios (or build via xcode)

    NSLocationAlwaysUsageDescription
    Explain for what are you using the user location
    NSLocationWhenInUseUsageDescription
    Explain for what are you using the user location

Regads,

2 Likes