dannywillems / ocaml-cordova-plugin-geolocation-example

Example of the binding to the geolocation cordova plugin.
GNU Lesser General Public License v3.0
0 stars 1 forks source link

NSLocationWhenInUseUsageDescription missing (mandatory since Xcode 8) #2

Open pwbs opened 7 years ago

pwbs commented 7 years ago

Xcode 8 requires NSLocationWhenInUseUsageDescription to be present in the *-Info.plist. If it's not present, the geolocation request is ignored!

dannywillems commented 7 years ago

@pwbs I never tried on iOS. Do you think it's the right place to report this bug?

pwbs commented 7 years ago

Well, without the proper configuration, the example just fails, on iOS 10 with Xcode 8.

dannywillems commented 7 years ago

@pwbs This example (like the others) is not here to list all dependencies and the configuration to do. This configuration must be given in the cordova plugin repository.

pwbs commented 7 years ago

I thought it was meant to show a working example with the least possible efforts...

dannywillems commented 7 years ago

The least possible efforts in OCaml, not about Cordova and iOS related things.