Skip to content

Commit

Permalink
fix: Fix Swift File Support (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker authored Nov 8, 2024
1 parent 71af330 commit 9454b03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ios/RNMParticle/RNMParticle.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
#else
#import "mParticle.h"
#endif
#if defined(__has_include) && __has_include(<mParticle_Apple_SDK/mParticle_Apple_SDK-Swift.h>)
#import <mParticle_Apple_SDK/mParticle_Apple_SDK-Swift.h>
#elif defined(__has_include) && __has_include(<mParticle_Apple_SDK_NoLocation/mParticle_Apple_SDK-Swift.h>)
#import <mParticle_Apple_SDK_NoLocation/mParticle_Apple_SDK-Swift.h>
#else
#import "mParticle_Apple_SDK-Swift.h"
#endif
#import <React/RCTConvert.h>

@interface MParticleUser ()
Expand Down

0 comments on commit 9454b03

Please sign in to comment.