Skip to content

Commit

Permalink
Fix requiresMainQueueSetup warnings (#10)
Browse files Browse the repository at this point in the history
Fix requiresMainQueueSetup warnings
  • Loading branch information
christophermark authored Oct 9, 2019
2 parents 657f9f8 + 73bdc7a commit 3922f41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ios/RNAudioJack.m
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-audio-jack",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3922f41

Please sign in to comment.