Commit 5b774994 authored by Chris Scott's avatar Chris Scott

Add AudioToolbox as framework in plugin.xml. Move import to header-file

parent e0c61bd6
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<param name="ios-package" value="CDVBackgroundGeoLocation"/> <param name="ios-package" value="CDVBackgroundGeoLocation"/>
</feature> </feature>
</config-file> </config-file>
<framework src="AudioToolbox.framework" weak="true" />
<source-file src="src/ios/CDVBackgroundGeoLocation.m" /> <source-file src="src/ios/CDVBackgroundGeoLocation.m" />
<header-file src="src/ios/CDVBackgroundGeoLocation.h" /> <header-file src="src/ios/CDVBackgroundGeoLocation.h" />
</platform> </platform>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#import <Cordova/CDVPlugin.h> #import <Cordova/CDVPlugin.h>
#import "CDVLocation.h" #import "CDVLocation.h"
#import <AudioToolbox/AudioToolbox.h>
@interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate> @interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate>
- (void) configure:(CDVInvokedUrlCommand*)command; - (void) configure:(CDVInvokedUrlCommand*)command;
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#import "CDVLocation.h" #import "CDVLocation.h"
#import "CDVBackgroundGeoLocation.h" #import "CDVBackgroundGeoLocation.h"
#import <Cordova/CDVJSON.h> #import <Cordova/CDVJSON.h>
#import <AudioToolbox/AudioToolbox.h>
// Debug sounds for bg-geolocation life-cycle events. // Debug sounds for bg-geolocation life-cycle events.
// http://iphonedevwiki.net/index.php/AudioServices // http://iphonedevwiki.net/index.php/AudioServices
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment