Commit 13d8b881 authored by Chris Scott's avatar Chris Scott

Use pluginInitialize method instead

parent 1253c4b9
......@@ -29,7 +29,7 @@
NSInteger locationTimeout;
}
- (CDVPlugin*) initWithWebView:(UIWebView*) theWebView
- (void)pluginInitialize
{
// background location cache, for when no network is detected.
locationCache = [NSMutableArray array];
......@@ -39,7 +39,6 @@
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onSuspend:) name:UIApplicationDidEnterBackgroundNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onResume:) name:UIApplicationWillEnterForegroundNotification object:nil];
return self;
}
/**
* configure plugin
......
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