diff --git a/ios/RNAudioJack.m b/ios/RNAudioJack.m index 6131d63..4f9293c 100644 --- a/ios/RNAudioJack.m +++ b/ios/RNAudioJack.m @@ -22,6 +22,11 @@ @implementation RNAudioJack static NSString * const AUDIO_CHANGED_NOTIFICATION = @"AUDIO_CHANGED_NOTIFICATION"; static NSString * const IS_PLUGGED_IN = @"isPluggedIn"; ++ (BOOL)requiresMainQueueSetup +{ + return YES; +} + - (instancetype)init { if (self = [super init]) { diff --git a/package.json b/package.json index 159a886..b1170bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-audio-jack", - "version": "1.0.3", + "version": "1.0.4", "description": "", "main": "index.js", "scripts": {