forked from Github/cordova-plugin-run-in-background
Clean up
This commit is contained in:
@@ -34,12 +34,13 @@
|
||||
[self disable:NULL];
|
||||
[self configureAudioPlayer];
|
||||
[self configureAudioSession];
|
||||
[self observeLifeCycle];
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the listener for pause and resume events.
|
||||
*/
|
||||
- (void) observeLifeCycle:(CDVInvokedUrlCommand *)command
|
||||
- (void) observeLifeCycle
|
||||
{
|
||||
NSNotificationCenter* listener = [NSNotificationCenter defaultCenter];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user