Add edit-config tag in tests/plugin.xml 94/head
authorJulio César <jcesarmobile@gmail.com>
Thu, 2 Nov 2017 19:28:02 +0000 (20:28 +0100)
committerJulio César <jcesarmobile@gmail.com>
Thu, 2 Nov 2017 19:28:02 +0000 (20:28 +0100)
tests/plugin.xml

index 6df3581..14d1200 100644 (file)
@@ -29,4 +29,7 @@
     <dependency id="cordova-plugin-device" url="https://github.com/apache/cordova-plugin-device" />
     <js-module src="tests.js" name="tests">
     </js-module>
+    <edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
+      <string>need location access to pass tests</string>
+    </edit-config>
 </plugin>