Skip to content

Commit

Permalink
fix(ios): allow music-player in MediaPlayer import
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn authored and sgtcoolguy committed May 29, 2019
1 parent 9b00027 commit 13ee154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions iphone/Classes/MediaModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
#ifdef USE_TI_MEDIA

#if defined(USE_TI_MEDIAGETAPPMUSICPLAYER) || defined(USE_TI_MEDIAAPPMUSICPLAYER) || defined(USE_TI_MEDIAGETSYSTEMMUSICPLAYER) || defined(USE_TI_MEDIASYSTEMMUSICPLAYER)
#import "MediaPlayer/MediaPlayer.h"
#if defined(USE_TI_MEDIAGETAPPMUSICPLAYER) || defined(USE_TI_MEDIAOPENMUSICLIBRARY) || defined(USE_TI_MEDIAAPPMUSICPLAYER) || defined(USE_TI_MEDIAGETSYSTEMMUSICPLAYER) || defined(USE_TI_MEDIASYSTEMMUSICPLAYER)
#import <MediaPlayer/MediaPlayer.h>
#endif
#import "TiMediaAudioSession.h"
#import "TiMediaMusicPlayer.h"
Expand Down
3 changes: 0 additions & 3 deletions iphone/Classes/MediaModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
#import <AVFoundation/AVFoundation.h>
#import <AVFoundation/AVMediaFormat.h>
#import <AudioToolbox/AudioToolbox.h>
#if defined(USE_TI_MEDIAGETAPPMUSICPLAYER) || defined(USE_TI_MEDIAAPPMUSICPLAYER) || defined(USE_TI_MEDIAGETSYSTEMMUSICPLAYER) || defined(USE_TI_MEDIASYSTEMMUSICPLAYER)
#import <MediaPlayer/MediaPlayer.h>
#endif
#import <MobileCoreServices/UTCoreTypes.h>
#import <Photos/Photos.h>
#import <QuartzCore/QuartzCore.h>
Expand Down

0 comments on commit 13ee154

Please sign in to comment.