docs(geolocation): add notes for iOS platform

This commit is contained in:
Daniel Sogl 2018-03-17 15:47:37 +01:00 committed by GitHub
parent 247a1a1d74
commit 6862389651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,14 @@ export interface GeolocationOptions {
*
* This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation.
*
* For iOS you have to add this configuration to your configuration.xml file
* ```xml
* <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
* <string>We want your location! Best regards NSA</string>
* </edit-config>
* ```
*
*
* @usage
*
* ```typescript