expo-invoke 2.8.1 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -115,7 +115,7 @@ const createIndexSwift = (widgets, targetPath) => {
|
|
|
115
115
|
const numberOfBundles = Math.ceil(numberOfWidgets / 4);
|
|
116
116
|
let output = `import WidgetKit
|
|
117
117
|
import SwiftUI
|
|
118
|
-
internal import
|
|
118
|
+
internal import ExpoInvoke
|
|
119
119
|
`;
|
|
120
120
|
if (numberOfWidgets > 0) {
|
|
121
121
|
for (let i = 0; i < numberOfBundles; i++) {
|
|
@@ -179,7 +179,7 @@ const widgetSwift = (widget) => {
|
|
|
179
179
|
if (!configuration)
|
|
180
180
|
return `import WidgetKit
|
|
181
181
|
import SwiftUI
|
|
182
|
-
internal import
|
|
182
|
+
internal import ExpoInvoke
|
|
183
183
|
|
|
184
184
|
struct ${widget.name}: Widget {
|
|
185
185
|
let name: String = "${widget.name}"
|
|
@@ -196,7 +196,7 @@ struct ${widget.name}: Widget {
|
|
|
196
196
|
return `import WidgetKit
|
|
197
197
|
import SwiftUI
|
|
198
198
|
import AppIntents
|
|
199
|
-
internal import
|
|
199
|
+
internal import ExpoInvoke
|
|
200
200
|
|
|
201
201
|
// AppIntent
|
|
202
202
|
struct ${widget.name}ConfigurationAppIntent: WidgetConfigurationIntent {
|
|
@@ -62,5 +62,5 @@ const withInvoke = (config, options) => {
|
|
|
62
62
|
});
|
|
63
63
|
return config;
|
|
64
64
|
};
|
|
65
|
-
exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '2.8.
|
|
65
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '2.8.3');
|
|
66
66
|
//# sourceMappingURL=withInvoke.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-invoke",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "The complete native-surface-to-JS bridge for Expo. One intent config → Siri, Google Assistant, home screen widgets, Dynamic Island, app icon menus, notification actions, NFC, QR, deep links and more — all through a single useInvoke() hook.",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"module": "build/src/index.js",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"types": "./build/src/index.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./app.plugin": "./app.plugin.js",
|
|
16
|
-
"./app.plugin.js": "./app.plugin.js"
|
|
16
|
+
"./app.plugin.js": "./app.plugin.js",
|
|
17
|
+
"./package.json": "./package.json"
|
|
17
18
|
},
|
|
18
19
|
"expo": {
|
|
19
20
|
"plugin": "./build/plugin/src/withInvoke"
|