Fix threading issue on iOS9
This commit is contained in:
parent
18fc64fddb
commit
891fa51cb2
@ -50,12 +50,10 @@ NSString* const kAPPBackgroundEventDeactivate = @"deactivate";
|
|||||||
*/
|
*/
|
||||||
- (void) pluginInitialize
|
- (void) pluginInitialize
|
||||||
{
|
{
|
||||||
[self.commandDelegate runInBackground:^{
|
enabled = [self.class isRunningWebKit];
|
||||||
enabled = [self.class isRunningWebKit];
|
[self configureAudioPlayer];
|
||||||
[self configureAudioPlayer];
|
[self configureAudioSession];
|
||||||
[self configureAudioSession];
|
[self observeLifeCycle];
|
||||||
[self observeLifeCycle];
|
|
||||||
}];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user