Skip to content

Commit

Permalink
Merge pull request #259 from amrfarid140/master
Browse files Browse the repository at this point in the history
Removed conditional imports in objc files
  • Loading branch information
ammarahm-ed authored May 29, 2022
2 parents 1012eca + 54c6559 commit a3465e2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
5 changes: 0 additions & 5 deletions ios/MMKVNative.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif

@interface MMKVNative : NSObject <RCTBridgeModule>

Expand Down
5 changes: 0 additions & 5 deletions ios/MMKVStorage.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif

@interface MMKVStorage : NSObject <RCTBridgeModule>

Expand Down
6 changes: 0 additions & 6 deletions ios/SecureStorage.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif

#import <Foundation/Foundation.h>

@interface SecureStorage: NSObject
Expand Down
5 changes: 0 additions & 5 deletions ios/SecureStorage.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif

#import "SecureStorage.h"
#import <UIKit/UIKit.h>

Expand Down

1 comment on commit a3465e2

@vercel
Copy link

@vercel vercel bot commented on a3465e2 May 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rnmmkv – ./

rnmmkv-ammarahm-ed.vercel.app
rnmmkv.vercel.app
rnmmkv-git-master-ammarahm-ed.vercel.app

Please sign in to comment.