More plugin spec

This commit is contained in:
Sebastián Katzer 2013-10-08 14:50:18 +02:00
parent bb2053600a
commit d7c0129743

View File

@ -21,16 +21,23 @@
<config-file target="config.xml" parent="/*">
<feature name="BackgroundMode">
<param name="ios-package" value="APPBackgroundMode"/>
<!-- Needs to be initialiced onload since the plugin has no callable js interface -->
<param name="onload" value="true" />
</feature>
</config-file>
<!-- The app is able to run in background through location-tracking mode -->
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>location</string>
</array>
</config-file>
<!-- Hint is displayed to user by first start -->
<config-file target="*-Info.plist" parent="NSLocationUsageDescription">
<string>Is required -for iOS 6 and above- to run the app in background!</string>
</config-file>
<header-file src="src/ios/APPBackgroundMode.h" />
<source-file src="src/ios/APPBackgroundMode.m" />
</platform>