Skip to content

Commit 1019c90

Browse files
update ios import
1 parent 58fc99c commit 1019c90

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ios/RNShortcuts.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
#import "react-native-shortcuts/RNShortcuts-Bridging-Header.h"
77
#endif
88

9+
#if __has_include("react_native_shortcuts-Swift.h")
910
#import "react_native_shortcuts-Swift.h"
11+
#else
12+
#import "react_native_shortcuts/react_native_shortcuts-Swift.h"
13+
#endif
1014

1115
@implementation RNShortcuts
1216

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rn-bridge/react-native-shortcuts",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "React native library for android shortcuts and iOS quick actions which allow users to quickly access specific app functionalities directly from the home screen or app icon.",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

0 commit comments

Comments
 (0)