Skip to content

Commit b2312c0

Browse files
BhaveshBhavesh
authored andcommitted
fix: ios build issue on RN 76
1 parent d59bd2d commit b2312c0

File tree

3 files changed

+8448
-8248
lines changed

3 files changed

+8448
-8248
lines changed

ios/FoldDetection.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
2-
#ifdef RCT_NEW_ARCH_ENABLED
3-
#import "RNFoldDetectionSpec.h"
4-
5-
@interface FoldDetection : NSObject <NativeFoldDetectionSpec>
6-
#else
71
#import <React/RCTBridgeModule.h>
82

93
@interface FoldDetection : NSObject <RCTBridgeModule>
10-
#endif
11-
124
@end

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logicwind/react-native-fold-detection",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "The purpose of the package is to provide details regarding the Android folding capability.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -40,7 +40,7 @@
4040
"android"
4141
],
4242
"repository": "https://github.com/logicwind/react-native-fold-detection",
43-
"author": "logicwind <farhan.pathan@logicwind.com> (https://github.com)",
43+
"author": "logicwind <devtools@logicwind.com> (https://github.com)",
4444
"license": "MIT",
4545
"bugs": {
4646
"url": "https://github.com/logicwind/react-native-fold-detection/issues"
@@ -160,4 +160,4 @@
160160
]
161161
]
162162
}
163-
}
163+
}

0 commit comments

Comments
 (0)