Skip to content

Commit

Permalink
fix: fix ios build when using frameworks (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsramiel authored Dec 13, 2024
1 parent 2ae662a commit 809163a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/AudioPlayback.mm
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#import "AudioPlayback.h"

#if __has_include("react_native_audio_playback-Swift.h")
#import "react_native_audio_playback-Swift.h"
#else
#import "react_native_audio_playback/react_native_audio_playback-Swift.h"
#endif

@implementation AudioPlayback {
AudioPlaybackImpl *moduleImpl;
Expand Down

0 comments on commit 809163a

Please sign in to comment.