iOS 8 & Phonegap Location Bug

It’s nothing new to bring to light new bugs of one of the most anticipated updates for Apple iPhone & iPad. Recently, we have detected an error to geographically locate the device using the phonegap framework. Below we detail the steps to solve the problem.

First of all, we need to edit CDVLocation.m file, located on plugins folder. Replace all with this:

Our next step, is bring up permissions from *.plist file. This file is located on Resources folder. We need to add two rows. The first one:
NSLocationAlwaysUsageDescription
And the second one:
NSLocationWhenInUseUsageDescription
Both are string type key. We can add a value. This value will appear under iOS alert.
Run the App!

2016-11-25T14:50:39+00:00 noviembre 13th, 2015|Apple, How To..., iOS, News, Tutorial|

Leave A Comment

*

Uso de cookies

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información. ACEPTAR

Aviso de cookies